diff options
Diffstat (limited to 'home/.copilot/lsp-config.json')
| -rw-r--r-- | home/.copilot/lsp-config.json | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/home/.copilot/lsp-config.json b/home/.copilot/lsp-config.json new file mode 100644 index 0000000..7a89a23 --- /dev/null +++ b/home/.copilot/lsp-config.json @@ -0,0 +1,153 @@ +{ + "lspServers": { + "typescript": { + "command": "~/.local/share/nvim/mason/bin/typescript-language-server", + "args": ["--stdio"], + "fileExtensions": { + ".ts": "typescript", + ".tsx": "typescriptreact", + ".js": "javascript", + ".jsx": "javascriptreact", + ".mjs": "javascript", + ".cjs": "javascript" + } + }, + "basedpyright": { + "command": "~/.local/share/nvim/mason/bin/basedpyright-langserver", + "args": ["--stdio"], + "fileExtensions": { + ".py": "python", + ".pyi": "python" + } + }, + "rust-analyzer": { + "command": "~/.local/share/nvim/mason/bin/rust-analyzer", + "args": [], + "fileExtensions": { + ".rs": "rust" + } + }, + "clangd": { + "command": "~/.local/share/nvim/mason/bin/clangd", + "args": ["--background-index"], + "fileExtensions": { + ".c": "c", + ".h": "c", + ".cpp": "cpp", + ".cxx": "cpp", + ".cc": "cpp", + ".hpp": "cpp", + ".hxx": "cpp" + } + }, + "lua": { + "command": "~/.local/share/nvim/mason/bin/lua-language-server", + "args": [], + "fileExtensions": { + ".lua": "lua" + } + }, + "bash": { + "command": "~/.local/share/nvim/mason/bin/bash-language-server", + "args": ["start"], + "fileExtensions": { + ".sh": "shellscript", + ".bash": "shellscript", + ".zsh": "shellscript" + } + }, + "docker": { + "command": "~/.local/share/nvim/mason/bin/docker-langserver", + "args": ["--stdio"], + "fileExtensions": { + "Dockerfile": "dockerfile" + } + }, + "css": { + "command": "~/.local/share/nvim/mason/bin/vscode-css-language-server", + "args": ["--stdio"], + "fileExtensions": { + ".css": "css", + ".scss": "scss", + ".less": "less" + } + }, + "html": { + "command": "~/.local/share/nvim/mason/bin/vscode-html-language-server", + "args": ["--stdio"], + "fileExtensions": { + ".html": "html", + ".htm": "html" + } + }, + "cmake": { + "command": "~/.local/share/nvim/mason/bin/neocmakelsp", + "args": ["--stdio"], + "fileExtensions": { + ".cmake": "cmake", + "CMakeLists.txt": "cmake" + } + }, + "nginx": { + "command": "~/.local/share/nvim/mason/bin/nginx-language-server", + "args": [], + "fileExtensions": { + ".conf": "nginx" + } + }, + "groovy": { + "command": "~/.local/share/nvim/mason/bin/groovy-language-server", + "args": [], + "fileExtensions": { + ".groovy": "groovy", + ".gradle": "groovy", + "Jenkinsfile": "groovy" + } + }, + "autotools": { + "command": "~/.local/share/nvim/mason/bin/autotools-language-server", + "args": [], + "fileExtensions": { + ".am": "makefile", + ".ac": "autoconf", + "Makefile.am": "makefile", + "configure.ac": "autoconf" + } + }, + "systemd": { + "command": "~/.local/share/nvim/mason/bin/systemd-lsp", + "args": [], + "fileExtensions": { + ".service": "systemd", + ".timer": "systemd", + ".socket": "systemd", + ".mount": "systemd" + } + }, + "just": { + "command": "~/.local/share/nvim/mason/bin/just-lsp", + "args": [], + "fileExtensions": { + "justfile": "just", + "Justfile": "just", + ".justfile": "just" + } + }, + "yaml": { + "command": "~/.local/share/nvim/mason/bin/yaml-language-server", + "args": ["--stdio"], + "fileExtensions": { + ".yaml": "yaml", + ".yml": "yaml" + } + }, + "json": { + "command": "~/.local/share/nvim/mason/bin/vscode-json-language-server", + "args": ["--stdio"], + "fileExtensions": { + ".json": "json", + ".jsonc": "jsonc" + } + } + } +} |
