✨ feat: add configurations for typescript and python language servers

This commit is contained in:
sankalp committed 2025-07-25 15:09:36 +05:45
1 parent a22f55a067
commit 9da1f36e17
3 files changed
+29 -17

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
return {
cmd = { 'pyright-langserver', '--stdio' },
filetypes = { 'py', 'python' },
root_markers = { 'pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt' },
settings = {
python = {
analysis = {
-- autoSearchPaths = true,
diagnosticMode = 'openFilesOnly',
-- useLibraryCodeForTypes = true,
},
},
},
init_options = {
hostInfo = 'neovim',
},
}