diff options
| author | Damien Pontifex <damien.pontifex@gmail.com> | 2025-06-04 21:26:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-04 06:26:37 -0700 |
| commit | 36255be0c6891315e8cb66d270a1e38269d4e8da (patch) | |
| tree | 81cd4fa79bce28b3db6d193a2bcc2facf27ab73d | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.tar nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.tar.gz nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.tar.bz2 nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.tar.lz nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.tar.xz nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.tar.zst nvim-lspconfig-36255be0c6891315e8cb66d270a1e38269d4e8da.zip | |
feat(bicep): add `bicep-params` filetype #3886
- Support for .bicepparam files
Resolves #3885
| -rw-r--r-- | lsp/bicep.lua | 2 | ||||
| -rw-r--r-- | lua/lspconfig/configs/bicep.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lsp/bicep.lua b/lsp/bicep.lua index 310213bc..fe3ddb14 100644 --- a/lsp/bicep.lua +++ b/lsp/bicep.lua @@ -32,7 +32,7 @@ --- && unzip -d /usr/local/bin/bicep-langserver bicep-langserver.zip) --- ``` return { - filetypes = { 'bicep' }, + filetypes = { 'bicep', 'bicep-params' }, root_markers = { '.git' }, init_options = {}, } diff --git a/lua/lspconfig/configs/bicep.lua b/lua/lspconfig/configs/bicep.lua index 3bb5e95a..0e47cbe8 100644 --- a/lua/lspconfig/configs/bicep.lua +++ b/lua/lspconfig/configs/bicep.lua @@ -1,6 +1,6 @@ return { default_config = { - filetypes = { 'bicep' }, + filetypes = { 'bicep', 'bicep-params' }, root_dir = function(fname) return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) end, |
