diff options
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r-- | .config/nvim/init.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f29ddac..b55cea7 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,6 +1,8 @@ call plug#begin() Plug 'drewtempelmeyer/palenight.vim' +Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'neovim/nvim-lspconfig' call plug#end() @@ -31,6 +33,7 @@ set shiftwidth=4 set expandtab set autoindent set fileformat=unix +filetype on " Some basics: nnoremap c "_c @@ -104,3 +107,5 @@ set fileformat=unix map <leader><leader> <Esc>/<++><Enter>"_c4l set rtp+=/usr/share/vim/vimfiles + +lua require'lspconfig'.luau_lsp.setup{filetypes = {"luau", "lua"}, cmd = {"luau-lsp", "lsp", "--definitions=/home/turret/git/taurus/globalTypes.d.lua", "--docs=/home/turret/taurus/en-us.json"}} |