enable a bunch of lsp's

This commit is contained in:
Thomas Ruoff
2024-03-15 23:25:55 +01:00
parent a76da6688d
commit 4b0f56ef8c

View File

@@ -545,6 +545,30 @@ require('lazy').setup({
-- - settings (table): Override the default settings passed when initializing the server. -- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers = {
ast_grep = {},
bashls = {},
beautysh = {},
cssls = {},
docker_compose_language_service = {},
dockerls = {},
eslint_d = {},
html = {},
htmx = {},
jq = {},
jsonls = {},
ltex = {},
marksman = {},
prettierd = {},
pylsp = {},
rust_analyzer = {},
rustywind = {},
shellcheck = {},
shfmt = {},
sqlfmt = {},
stylua = {},
texlab = {},
yamlls = {},
-- clangd = {}, -- clangd = {},
-- gopls = {}, -- gopls = {},
-- pyright = {}, -- pyright = {},
@@ -633,6 +657,10 @@ require('lazy').setup({
-- You can use a sub-list to tell conform to run *until* a formatter -- You can use a sub-list to tell conform to run *until* a formatter
-- is found. -- is found.
-- javascript = { { "prettierd", "prettier" } }, -- javascript = { { "prettierd", "prettier" } },
javascript = { { 'eslint_d', 'prettier' } },
javascriptreact = { { 'eslint_d', 'prettier' } },
typescript = { { 'eslint_d', 'prettier' } },
typescriptreact = { { 'eslint_d', 'prettier' } },
}, },
}, },
}, },
@@ -798,7 +826,7 @@ require('lazy').setup({
---@diagnostic disable-next-line: missing-fields ---@diagnostic disable-next-line: missing-fields
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' }, ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc', 'sql', 'javascript', 'typescript', 'jq', 'rust' },
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { enable = true }, highlight = { enable = true },