diff options
| author | 2024-08-14 10:17:05 +0200 | |
|---|---|---|
| committer | 2024-08-14 10:17:05 +0200 | |
| commit | 03e1823ca7a63d67271cf19501669b06dbbf9c4c (patch) | |
| tree | 53951c6838493da63fc00b13fd6a25283d064ce7 | |
| parent | nvim: rework mixed-table macro (diff) | |
nvim: move to basedpyright over pyright
The interest is mostly in the code actions.
| -rw-r--r-- | dot_config/nvim/fnl/plugins/lsp.fnl | 4 | ||||
| -rw-r--r-- | dot_config/nvim/lua/plugins/lsp.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dot_config/nvim/fnl/plugins/lsp.fnl b/dot_config/nvim/fnl/plugins/lsp.fnl index 963c1b7..848f1b6 100644 --- a/dot_config/nvim/fnl/plugins/lsp.fnl +++ b/dot_config/nvim/fnl/plugins/lsp.fnl @@ -4,14 +4,14 @@ (local {: executable?} (require :toast.nvim)) (fn gopts [plist] - {:clangd {} + {:basedpyright {} + :clangd {} :clojure_lsp {:root_dir (plist :project.clj :deps.edn :bb.edn :build.boot :shadow-cljs.edn :.git)} :denols {:autostart false :root_dir (plist :deno.json :deno.jsonc)} :gopls {} :ltex {} :lua_ls {} - :pyright {} :ruff {:cmd [:ruff :server :--preview]} :texlab {:filetypes [:tex :plaintex :bib :latex]} :tsserver {:autostart false diff --git a/dot_config/nvim/lua/plugins/lsp.lua b/dot_config/nvim/lua/plugins/lsp.lua index 314cc6b..a84f12c 100644 --- a/dot_config/nvim/lua/plugins/lsp.lua +++ b/dot_config/nvim/lua/plugins/lsp.lua @@ -7,7 +7,7 @@ local insert = _local_2_["insert"] local _local_3_ = require("toast.nvim") local executable_3f = _local_3_["executable?"] local function gopts(plist) - return {clangd = {}, clojure_lsp = {root_dir = plist("project.clj", "deps.edn", "bb.edn", "build.boot", "shadow-cljs.edn", ".git")}, denols = {root_dir = plist("deno.json", "deno.jsonc"), autostart = false}, gopls = {}, ltex = {}, lua_ls = {}, pyright = {}, ruff = {cmd = {"ruff", "server", "--preview"}}, texlab = {filetypes = {"tex", "plaintex", "bib", "latex"}}, tsserver = {root_dir = plist("tsconfig.json", "package.json"), autostart = false}, zls = {}} + return {basedpyright = {}, clangd = {}, clojure_lsp = {root_dir = plist("project.clj", "deps.edn", "bb.edn", "build.boot", "shadow-cljs.edn", ".git")}, denols = {root_dir = plist("deno.json", "deno.jsonc"), autostart = false}, gopls = {}, ltex = {}, lua_ls = {}, ruff = {cmd = {"ruff", "server", "--preview"}}, texlab = {filetypes = {"tex", "plaintex", "bib", "latex"}}, tsserver = {root_dir = plist("tsconfig.json", "package.json"), autostart = false}, zls = {}} end local function attach(c, b) local lsp = vim.lsp |
