From eec6215da7c57deb4bfffa182516c8296fccd73b Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 20 Feb 2026 00:06:26 +0900 Subject: modified plugins/lsp.lua, modified plugins/treesitter.lua --- .../TheSiahxyz/lua/TheSiahxyz/plugins/lsp.lua | 23 ++++++++-------------- .../lua/TheSiahxyz/plugins/treesitter.lua | 3 +++ 2 files changed, 11 insertions(+), 15 deletions(-) (limited to 'ar') diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/lsp.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/lsp.lua index 2b9bc9d..28999db 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/lsp.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/lsp.lua @@ -92,10 +92,12 @@ return { require("mason-lspconfig").setup({ ensure_installed = { "bashls", + "cssls", "dockerls", "docker_compose_language_service", "eslint", "harper_ls", + "html", "jdtls", "jsonls", "lua_ls", @@ -220,11 +222,6 @@ return { -- }, }) end, - ["rust_analyzer"] = function() - lspconfig.rust_analyzer.setup({ - capabilities = capabilities, - }) - end, ["sqls"] = function() lspconfig.sqls.setup({ capabilities = capabilities, @@ -246,14 +243,10 @@ return { local lint = require("lint") lint.linters_by_ft = { dockerfile = { "hadolint" }, - javascript = { "eslint_d" }, - javascriptreact = { "eslint_d" }, python = { "pylint" }, sh = { "shellcheck" }, sql = { "sqlfluff" }, svelte = { "eslint_d" }, - typescript = { "eslint_d" }, - typescriptreact = { "eslint_d" }, } local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true }) @@ -380,12 +373,12 @@ return { end local ft = vim.bo[bufnr].filetype local off = { - javascript = true, - typescript = true, - javascriptreact = true, - typescriptreact = true, - json = true, - css = true, + javascript = false, + typescript = false, + javascriptreact = false, + typescriptreact = false, + json = false, + css = false, } if off[ft] then return false diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua index 7a9639c..8adfbaa 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua @@ -17,6 +17,7 @@ return { "bash", "c", "cpp", + "css", "dockerfile", "html", "java", @@ -27,7 +28,9 @@ return { "markdown", "markdown_inline", "python", + "rust", "sql", + "typescript", "vim", "vimdoc", }) -- cgit v1.2.3