From 0f6cee92221dc517bd756083e260dd9373851b82 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 24 Sep 2025 02:56:53 +0200 Subject: Moved files to common/ --- common/nvim/lsp/bashls.lua | 4 ---- common/nvim/lsp/clangd.lua | 5 ----- common/nvim/lsp/cssls.lua | 4 ---- common/nvim/lsp/gopls.lua | 41 --------------------------------------- common/nvim/lsp/html.lua | 4 ---- common/nvim/lsp/jsonls.lua | 4 ---- common/nvim/lsp/lua_ls.lua | 20 ------------------- common/nvim/lsp/pyright.lua | 12 ------------ common/nvim/lsp/rust_analyzer.lua | 5 ----- common/nvim/lsp/ts_ls.lua | 8 -------- common/nvim/lsp/yamlls.lua | 4 ---- 11 files changed, 111 deletions(-) delete mode 100644 common/nvim/lsp/bashls.lua delete mode 100644 common/nvim/lsp/clangd.lua delete mode 100644 common/nvim/lsp/cssls.lua delete mode 100644 common/nvim/lsp/gopls.lua delete mode 100644 common/nvim/lsp/html.lua delete mode 100644 common/nvim/lsp/jsonls.lua delete mode 100644 common/nvim/lsp/lua_ls.lua delete mode 100644 common/nvim/lsp/pyright.lua delete mode 100644 common/nvim/lsp/rust_analyzer.lua delete mode 100644 common/nvim/lsp/ts_ls.lua delete mode 100644 common/nvim/lsp/yamlls.lua (limited to 'common/nvim/lsp') diff --git a/common/nvim/lsp/bashls.lua b/common/nvim/lsp/bashls.lua deleted file mode 100644 index fc7d709..0000000 --- a/common/nvim/lsp/bashls.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - cmd = { "bash-language-server", "start" }, - filetypes = { "sh", "bash" } -} \ No newline at end of file diff --git a/common/nvim/lsp/clangd.lua b/common/nvim/lsp/clangd.lua deleted file mode 100644 index 4a19600..0000000 --- a/common/nvim/lsp/clangd.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - cmd = { "clangd", "--background-index", "--clang-tidy", "--header-insertion=iwyu" }, - filetypes = { "c", "cpp", "objc", "objcpp", "cuda", "proto" }, - root_markers = { ".clangd", ".clang-tidy", ".clang-format", "compile_commands.json", "compile_flags.txt", "configure.ac" } -} \ No newline at end of file diff --git a/common/nvim/lsp/cssls.lua b/common/nvim/lsp/cssls.lua deleted file mode 100644 index e734c19..0000000 --- a/common/nvim/lsp/cssls.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - cmd = { "vscode-css-language-server", "--stdio" }, - filetypes = { "css", "scss", "less" } -} \ No newline at end of file diff --git a/common/nvim/lsp/gopls.lua b/common/nvim/lsp/gopls.lua deleted file mode 100644 index cf959c4..0000000 --- a/common/nvim/lsp/gopls.lua +++ /dev/null @@ -1,41 +0,0 @@ -return { - cmd = { "gopls" }, - filetypes = { "go", "gomod", "gowork", "gotmpl" }, - root_markers = { "go.work", "go.mod" }, - settings = { - gopls = { - analyses = { - fieldalignment = true, - nilness = true, - unusedparams = true, - unusedwrite = true, - useany = true - }, - codelenses = { - gc_details = false, - generate = true, - regenerate_cgo = true, - run_govulncheck = true, - test = true, - tidy = true, - upgrade_dependency = true, - vendor = true - }, - completeUnimported = true, - directoryFilters = { "-.git", "-.vscode", "-.idea", "-.vscode-test", "-node_modules" }, - gofumpt = true, - hints = { - assignVariableTypes = true, - compositeLiteralFields = true, - compositeLiteralTypes = true, - constantValues = true, - functionTypeParameters = true, - parameterNames = true, - rangeVariableTypes = true - }, - semanticTokens = true, - staticcheck = true, - usePlaceholders = true - } - } -} \ No newline at end of file diff --git a/common/nvim/lsp/html.lua b/common/nvim/lsp/html.lua deleted file mode 100644 index 5b322b1..0000000 --- a/common/nvim/lsp/html.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - cmd = { "vscode-html-language-server", "--stdio" }, - filetypes = { "html" } -} \ No newline at end of file diff --git a/common/nvim/lsp/jsonls.lua b/common/nvim/lsp/jsonls.lua deleted file mode 100644 index 6474e0a..0000000 --- a/common/nvim/lsp/jsonls.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - cmd = { "vscode-json-language-server", "--stdio" }, - filetypes = { "json", "jsonc" } -} \ No newline at end of file diff --git a/common/nvim/lsp/lua_ls.lua b/common/nvim/lsp/lua_ls.lua deleted file mode 100644 index d248e2e..0000000 --- a/common/nvim/lsp/lua_ls.lua +++ /dev/null @@ -1,20 +0,0 @@ -return { - cmd = { "lua-language-server" }, - filetypes = { "lua" }, - root_markers = { ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml" }, - settings = { - Lua = { - diagnostics = { - disable = { "undefined-global", "lowercase-global", "unused-local", "unused-vararg", "trailing-space" }, - globals = { "vim", "use", "_G", "packer_plugins", "P" } - }, - telemetry = { - enable = false - }, - workspace = { - checkThirdParty = false, - library = { "/tmp/.mount_nvimOIpamk/usr/share/nvim/runtime", "${3rd}/luv/library", "${3rd}/busted/library" } - } - } - } -} \ No newline at end of file diff --git a/common/nvim/lsp/pyright.lua b/common/nvim/lsp/pyright.lua deleted file mode 100644 index f89d41f..0000000 --- a/common/nvim/lsp/pyright.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - cmd = { "pyright-langserver", "--stdio" }, - filetypes = { "python" }, - root_markers = { "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", "pyrightconfig.json" }, - settings = { - python = { - formatting = { - provider = "none" - } - } - } -} \ No newline at end of file diff --git a/common/nvim/lsp/rust_analyzer.lua b/common/nvim/lsp/rust_analyzer.lua deleted file mode 100644 index b4522f5..0000000 --- a/common/nvim/lsp/rust_analyzer.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - cmd = { "rust-analyzer" }, - filetypes = { "rust" }, - root_markers = { "Cargo.toml", "rust-project.json" } -} \ No newline at end of file diff --git a/common/nvim/lsp/ts_ls.lua b/common/nvim/lsp/ts_ls.lua deleted file mode 100644 index 940fd3d..0000000 --- a/common/nvim/lsp/ts_ls.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - cmd = { "typescript-language-server", "--stdio" }, - filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" }, - init_options = { - disableAutomaticTypeAcquisition = true - }, - root_markers = { "tsconfig.json", "jsconfig.json", "package.json" } -} \ No newline at end of file diff --git a/common/nvim/lsp/yamlls.lua b/common/nvim/lsp/yamlls.lua deleted file mode 100644 index e52d322..0000000 --- a/common/nvim/lsp/yamlls.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - cmd = { "yaml-language-server", "--stdio" }, - filetypes = { "yaml", "yml" } -} \ No newline at end of file -- cgit v1.2.3