diff --git a/init.vim b/init.vim index 3a32e00..dd830b0 100644 --- a/init.vim +++ b/init.vim @@ -4,6 +4,7 @@ call plug#begin() Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons Plug 'kyazdani42/nvim-tree.lua' +Plug 'neovim/nvim-lspconfig' Plug 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' } Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'preservim/nerdcommenter' diff --git a/lua/general.lua b/lua/general.lua index 248e570..cf9235e 100644 --- a/lua/general.lua +++ b/lua/general.lua @@ -2,6 +2,9 @@ vim.g.loaded = 1 vim.g.loaded_netrwPlugin = 1 +-- load perl lsp +require('lspconfig').perlpls.setup{} + -- OR setup with some options require("nvim-tree").setup({ create_in_closed_folder = true,