lsp servers cleaning
This commit is contained in:
parent
fb7538c2f9
commit
6047116693
3 changed files with 8 additions and 50 deletions
|
@ -34,16 +34,12 @@ ENV MASON_PKGS=" \
|
|||
dockerfile-language-server \
|
||||
eslint-lsp \
|
||||
html-lsp \
|
||||
intelephense \
|
||||
json-lsp \
|
||||
marksman \
|
||||
phpcs \
|
||||
phpstan \
|
||||
python-lsp-server \
|
||||
jedi-language-server \
|
||||
ruff \
|
||||
sqlls \
|
||||
typescript-language-server \
|
||||
yaml-language-server \
|
||||
markdownlint \
|
||||
ansible-language-server \
|
||||
|
|
|
@ -197,6 +197,8 @@ podman start -ai {project/container name}
|
|||
|
||||
## Additional packages to install as needed
|
||||
|
||||
**remember to enable them in plugings/nvim-lspconfig.lua**
|
||||
|
||||
### Perl lang
|
||||
|
||||
For Perl language support run this command to install required packages for
|
||||
|
@ -223,6 +225,12 @@ dnf install -y ruby-devel rubygems
|
|||
:MasonInstall standardrb ruby-lsp solargraph
|
||||
```
|
||||
|
||||
### PHP
|
||||
|
||||
```bash
|
||||
:MasonInstall php cs phpstan
|
||||
```
|
||||
|
||||
## Inside vim
|
||||
|
||||
```vim
|
||||
|
|
|
@ -121,10 +121,6 @@ return {
|
|||
--on_attach = on_attach,
|
||||
--capabilities = capabilities,
|
||||
--}
|
||||
require 'lspconfig'.sourcekit.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.bashls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
|
@ -133,36 +129,10 @@ return {
|
|||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.intelephense.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.eslint.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.tsserver.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.perlpls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
--require 'lspconfig'.perlnavigator.setup {
|
||||
--settings = {
|
||||
--perlnavigator = {
|
||||
--perlPath = 'perl',
|
||||
--enableWarnings = true,
|
||||
--perltidyProfile = '',
|
||||
--perlcriticProfile = '',
|
||||
--perlcriticEnabled = true,
|
||||
--}
|
||||
--},
|
||||
--on_attach = on_attach,
|
||||
--capabilities = capabilities,
|
||||
--}
|
||||
|
||||
require 'lspconfig'.cssls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
|
@ -223,22 +193,6 @@ return {
|
|||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.r_language_server.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.solargraph.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.ruby_lsp.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.standardrb.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require 'lspconfig'.helm_ls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
|
|
Loading…
Reference in a new issue