summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-20 00:06:26 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-20 00:06:26 +0900
commiteec6215da7c57deb4bfffa182516c8296fccd73b (patch)
tree97c3ba22bdaeb49188a270b89b1f0b4a9ccae4a4 /ar/.config/TheSiahxyz
parente6a80856f373c16376be4eb40abff9c5a14ce90c (diff)
modified plugins/lsp.lua, modified plugins/treesitter.lua
Diffstat (limited to 'ar/.config/TheSiahxyz')
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/lsp.lua23
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua3
2 files changed, 11 insertions, 15 deletions
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",
})