mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 22:47:18 +01:00
enable a bunch of lsp's
This commit is contained in:
30
init.lua
30
init.lua
@@ -545,6 +545,30 @@ require('lazy').setup({
|
||||
-- - 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/
|
||||
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 = {},
|
||||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
@@ -633,6 +657,10 @@ require('lazy').setup({
|
||||
-- You can use a sub-list to tell conform to run *until* a formatter
|
||||
-- is found.
|
||||
-- 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
|
||||
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
|
||||
auto_install = true,
|
||||
highlight = { enable = true },
|
||||
|
||||
Reference in New Issue
Block a user