add lspconfig and perl lsp load

This commit is contained in:
Szwendacz99 2022-10-15 13:50:50 +02:00
parent 944ad7b37f
commit c2a666b2cd
2 changed files with 4 additions and 0 deletions

View file

@ -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'

View file

@ -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,