fix: remove lsp ensure_installed broken items

This commit is contained in:
2023-05-30 15:19:32 +03:00
parent 40d5b164dc
commit 3d7ada461b

View File

@@ -2,39 +2,10 @@ local lsp = require('lsp-zero').preset("recommended")
local lspconfig = require('lspconfig')
lsp.ensure_installed({
'bash-debug-adapter',
'bashls',
'black',
'buildifier',
'chrome-debug-adapter',
'commitlint',
'cspell',
'cssls',
'docker_compose_language_service',
'dockerls',
'eslint',
'gh',
'gitui',
'html',
'jq',
'jsonls',
'jsonlint',
'lua_ls',
'markdown-toc',
'markdownlint',
'prettier',
'prettierd',
'ruby_ls',
'rust_analyzer',
'rustfmt',
'shellcheck',
'shfmt',
'stylua',
-- 'lua-language-server',
'tsserver',
'vimls',
'yamlls',
'yamlfmt',
'yamllint',
'eslint',
'rust_analyzer'
})
-- Fix Undefined global 'vim'
@@ -46,6 +17,7 @@ local cmp_mappings = lsp.defaults.cmp_mappings({
['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
['<C-y>'] = cmp.mapping.confirm({ select = true }),
-- TODO: either change this or change the mapping for tmux
["<C-Space>"] = cmp.mapping.complete(),
})
@@ -140,3 +112,4 @@ vim.diagnostic.config({
})
require("flutter-tools").setup({})