diff options
| author | 2026-04-21 01:23:18 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:18 +0100 | |
| commit | d00bf2cb2d5087164fa509a4f20a2be62a519044 (patch) | |
| tree | e788986ca341fa7a9d7327b48c58d2e0c0c43115 /dot_copilot/lsp-config.json | |
| parent | 9b2af4dd6c73ea57cc921f41120db7a2700e806d (diff) | |
| download | dotfiles-d00bf2cb2d5087164fa509a4f20a2be62a519044.tar.gz dotfiles-d00bf2cb2d5087164fa509a4f20a2be62a519044.tar.bz2 dotfiles-d00bf2cb2d5087164fa509a4f20a2be62a519044.zip | |
refactor: restructure to chezmoi source state
Rename home/ contents to chezmoi naming conventions:
- dot_ prefix for dotfiles and dot-dirs
- private_dot_ for .gnupg and .ssh directories
- private_ for 0600 files (nym.pub)
- executable_ for scripts in .local/bin and display-toggle.sh
- symlink_ for mimeapps.list symlink
Diffstat (limited to 'dot_copilot/lsp-config.json')
| -rw-r--r-- | dot_copilot/lsp-config.json | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/dot_copilot/lsp-config.json b/dot_copilot/lsp-config.json new file mode 100644 index 0000000..7a89a23 --- /dev/null +++ b/dot_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" + } + } + } +} |
