1

Update generated neovim config

This commit is contained in:
2024-08-15 14:28:54 +02:00
parent 07409c223d
commit 25cfcf2941
3809 changed files with 351157 additions and 0 deletions

View File

@ -0,0 +1,17 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'bal', 'start-language-server' },
filetypes = { 'ballerina' },
root_dir = util.root_pattern 'Ballerina.toml',
},
docs = {
description = [[
Ballerina language server
The Ballerina language's CLI tool comes with its own language server implementation.
The `bal` command line tool must be installed and available in your system's PATH.
]],
},
}

View File

@ -0,0 +1,26 @@
local util = require 'lspconfig/util'
return {
default_config = {
cmd = { 'bazelrc-lsp' },
filetypes = { 'bazelrc' },
root_dir = util.root_pattern('WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel'),
},
docs = {
description = [[
https://github.com/salesforce-misc/bazelrc-lsp
`bazelrc-lsp` is a LSP for `.bazelrc` configuration files.
The `.bazelrc` file type is not detected automatically, you can register it manually (see below) or override the filetypes:
```lua
vim.filetype.add {
pattern = {
['.*.bazelrc'] = 'bazelrc',
},
}
```
]],
},
}

View File

@ -0,0 +1,27 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'language-server-bitbake', '--stdio' },
filetypes = { 'bitbake' },
root_dir = util.find_git_ancestor,
single_file_support = false,
},
docs = {
description = [[
https://github.com/yoctoproject/vscode-bitbake/tree/staging/server
https://www.npmjs.com/package/language-server-bitbake
Official Bitbake Language Server for the Yocto Project.
Can be installed from npm or github.
```
npm install -g language-server-bitbake
```
]],
default_config = {
root_dir = [[util.find_git_ancestor]],
},
},
}

View File

@ -0,0 +1,17 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'djlsp' },
filetypes = { 'html', 'htmldjango' },
root_dir = util.find_git_ancestor,
settings = {},
},
docs = {
description = [[
https://github.com/fourdigits/django-template-lsp
`djlsp`, a language server for Django templates.
]],
},
}

View File

@ -0,0 +1,26 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'fish-lsp', 'start' },
cmd_env = { fish_lsp_show_client_popups = false },
filetypes = { 'fish' },
root_dir = util.find_git_ancestor,
single_file_support = true,
},
docs = {
description = [[
https://github.com/ndonfris/fish-lsp
A Language Server Protocol (LSP) tailored for the fish shell.
This project aims to enhance the coding experience for fish,
by introducing a suite of intelligent features like auto-completion,
scope aware symbol analysis, per-token hover generation, and many others.
[homepage](https://www.fish-lsp.dev/)
]],
default_config = {
root_dir = [[util.find_git_ancestor]],
},
},
}

View File

@ -0,0 +1,38 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'glasgow' },
filetypes = { 'wgsl' },
root_dir = util.find_git_ancestor,
single_file_support = true,
settings = {},
},
docs = {
description = [[
https://github.com/nolanderc/glasgow
Provides language features for WGSL (WebGPU Shading Language):
- Completions:
- Local functions/variables/types.
- Fields and swizzles.
- Builtin types and functions (`dot`, `reflect`, `textureSample`, `vec3`, `mat4x2`, etc.)
- Hover Documentation:
- Function signatures.
- Variable types.
- Includes builtin types and functions. Text is taken from the WGSL specification.
- Goto Definition
- Find all References
- Rename
- Formatter
`glasgow` can be installed via `cargo`:
```sh
cargo install glasgow
```
]],
default_config = {
root_dir = [[root_pattern(".git")]],
},
},
}

View File

@ -0,0 +1,21 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = {
'janet-lsp',
'--stdio',
},
filetypes = { 'janet' },
root_dir = util.root_pattern 'project.janet' or util.find_git_ancestor(),
single_file_support = true,
},
docs = {
description = [[
https://github.com/CFiggers/janet-lsp
A Language Server Protocol implementation for Janet.
]],
root_dir = [[root_pattern("project.janet", ".git")]],
},
}

View File

@ -0,0 +1,22 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'protols' },
filetypes = { 'proto' },
single_file_support = true,
root_dir = util.find_git_ancestor,
},
docs = {
description = [[
https://github.com/coder3101/protols
`protols` can be installed via `cargo`:
```sh
cargo install protols
```
A Language Server for proto3 files. It uses tree-sitter and runs in single file mode.
]],
},
}

View File

@ -0,0 +1,18 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'pug-lsp' },
filetypes = { 'pug' },
root_dir = util.find_package_json_ancestor,
},
docs = {
description = [[
https://github.com/opa-oz/pug-lsp
An implementation of the Language Protocol Server for [Pug.js](http://pugjs.org)
PugLSP can be installed via `go get github.com/opa-oz/pug-lsp`, or manually downloaded from [releases page](https://github.com/opa-oz/pug-lsp/releases)
]],
},
}

View File

@ -0,0 +1,32 @@
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'superhtml', 'lsp' },
filetypes = { 'superhtml', 'html' },
root_dir = util.find_git_ancestor,
single_file_support = true,
},
docs = {
description = [[
https://github.com/kristoff-it/superhtml
HTML Language Server & Templating Language Library
This LSP is designed to tightly adhere to the HTML spec as well as enforcing
some additional rules that ensure HTML clarity.
If you want to disable HTML support for another HTML LSP, add the following
to your configuration:
```lua
require'lspconfig'.superhtml.setup {
filetypes = { 'superhtml' }
}
```
]],
default_config = {
root_dir = [[util.find_git_ancestor]],
},
},
}