aboutsummaryrefslogtreecommitdiff
path: root/vim/.config/nvim/lsp
diff options
context:
space:
mode:
authorgyoder <70408179+gyoder@users.noreply.github.com>2025-06-18 16:47:24 -0600
committergyoder <70408179+gyoder@users.noreply.github.com>2025-06-18 16:47:24 -0600
commit8b66f08910f46712d4f0c0028e21a33b8d8e4cce (patch)
treed5c6c815c06b52a6a9d3f7a7721723c50fe56d9b /vim/.config/nvim/lsp
parente307b8d9855eca55ef8f3077d55473d9147f3844 (diff)
nvim: updated lsp for python and added lsp-config
Diffstat (limited to 'vim/.config/nvim/lsp')
-rw-r--r--vim/.config/nvim/lsp/pyright.lua4
-rw-r--r--vim/.config/nvim/lsp/ty.lua5
2 files changed, 5 insertions, 4 deletions
diff --git a/vim/.config/nvim/lsp/pyright.lua b/vim/.config/nvim/lsp/pyright.lua
deleted file mode 100644
index 178bfde..0000000
--- a/vim/.config/nvim/lsp/pyright.lua
+++ /dev/null
@@ -1,4 +0,0 @@
-return {
- cmd = { "pyright-langserver", "--stdio" },
- filetypes = { "python" }
-}
diff --git a/vim/.config/nvim/lsp/ty.lua b/vim/.config/nvim/lsp/ty.lua
new file mode 100644
index 0000000..254ef7e
--- /dev/null
+++ b/vim/.config/nvim/lsp/ty.lua
@@ -0,0 +1,5 @@
+return {
+ cmd = { 'uvx', 'ty', 'server' },
+ filetypes = { 'python' },
+ root_markers = { 'ty.toml', 'pyproject.toml', '.git' },
+}