From 00b89d9c78f70cd5d74224bcdb25e2fcdd7048eb Mon Sep 17 00:00:00 2001 From: nikolay Date: Sat, 4 Jan 2025 20:07:43 +0000 Subject: [PATCH] feat: install all this other bs --- init.lua | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 2d9ac6de..e969ea0b 100644 --- a/init.lua +++ b/init.lua @@ -525,8 +525,17 @@ require('lazy').setup({ -- clangd = {}, -- gopls = {}, -- pyright = {}, - -- rust_analyzer = {}, terraformls = {}, + biome = {}, + marksman = {}, + rust_analyzer = {}, + ruby_lsp = {}, + ts_ls = {}, + ruff = { + path = { '/Users/nikolay/.local/bin/ruff' }, + }, + pyright = {}, + zls = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: @@ -603,7 +612,7 @@ require('lazy').setup({ -- Disable "format_on_save lsp_fallback" for languages that don't -- have a well standardized coding style. You can add additional -- languages here or re-enable it for the disabled ones. - local disable_filetypes = { c = true, cpp = true } + local disable_filetypes = { c = false, cpp = true } local lsp_format_opt if disable_filetypes[vim.bo[bufnr].filetype] then lsp_format_opt = 'never' @@ -621,7 +630,8 @@ require('lazy').setup({ -- python = { "isort", "black" }, -- -- You can use 'stop_after_first' to run the first available formatter from the list - -- javascript = { "prettierd", "prettier", stop_after_first = true }, + javascript = { 'prettierd', 'prettier', stop_after_first = true }, + html = { 'prettierd', 'prettier', stop_after_first = true }, }, }, }, @@ -826,7 +836,23 @@ require('lazy').setup({ main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'terraform', 'python' }, + ensure_installed = { + 'bash', + 'c', + 'diff', + 'css', + 'javascript', + 'html', + 'lua', + 'luadoc', + --'markdown', + --'markdown_inline', + 'query', + 'vim', + 'vimdoc', + 'terraform', + 'python', + }, -- Autoinstall languages that are not installed auto_install = true, highlight = {