add lspconfig and perl lsp load
This commit is contained in:
parent
944ad7b37f
commit
c2a666b2cd
2 changed files with 4 additions and 0 deletions
1
init.vim
1
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'
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue