Skip to content

Commit 00b89d9

Browse files
committed
feat: install all this other bs
1 parent b2f5848 commit 00b89d9

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

init.lua

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,17 @@ require('lazy').setup({
525525
-- clangd = {},
526526
-- gopls = {},
527527
-- pyright = {},
528-
-- rust_analyzer = {},
529528
terraformls = {},
529+
biome = {},
530+
marksman = {},
531+
rust_analyzer = {},
532+
ruby_lsp = {},
533+
ts_ls = {},
534+
ruff = {
535+
path = { '/Users/nikolay/.local/bin/ruff' },
536+
},
537+
pyright = {},
538+
zls = {},
530539
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
531540
--
532541
-- Some languages (like typescript) have entire language plugins that can be useful:
@@ -603,7 +612,7 @@ require('lazy').setup({
603612
-- Disable "format_on_save lsp_fallback" for languages that don't
604613
-- have a well standardized coding style. You can add additional
605614
-- languages here or re-enable it for the disabled ones.
606-
local disable_filetypes = { c = true, cpp = true }
615+
local disable_filetypes = { c = false, cpp = true }
607616
local lsp_format_opt
608617
if disable_filetypes[vim.bo[bufnr].filetype] then
609618
lsp_format_opt = 'never'
@@ -621,7 +630,8 @@ require('lazy').setup({
621630
-- python = { "isort", "black" },
622631
--
623632
-- You can use 'stop_after_first' to run the first available formatter from the list
624-
-- javascript = { "prettierd", "prettier", stop_after_first = true },
633+
javascript = { 'prettierd', 'prettier', stop_after_first = true },
634+
html = { 'prettierd', 'prettier', stop_after_first = true },
625635
},
626636
},
627637
},
@@ -826,7 +836,23 @@ require('lazy').setup({
826836
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
827837
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
828838
opts = {
829-
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'terraform', 'python' },
839+
ensure_installed = {
840+
'bash',
841+
'c',
842+
'diff',
843+
'css',
844+
'javascript',
845+
'html',
846+
'lua',
847+
'luadoc',
848+
--'markdown',
849+
--'markdown_inline',
850+
'query',
851+
'vim',
852+
'vimdoc',
853+
'terraform',
854+
'python',
855+
},
830856
-- Autoinstall languages that are not installed
831857
auto_install = true,
832858
highlight = {

0 commit comments

Comments
 (0)