mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
fix: remove lsp ensure_installed broken items
This commit is contained in:
@@ -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({})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user