aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2024-09-21 21:33:36 +0800
committerGitHub <noreply@github.com>2024-09-21 21:33:36 +0800
commitf4fef355efa3c5d0813512480ee7b2c050b09fe4 (patch)
treefd156e184452b309d4ac0ad7536068a21091465e /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.tar
nvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.tar.gz
nvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.tar.bz2
nvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.tar.lz
nvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.tar.xz
nvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.tar.zst
nvim-lspconfig-f4fef355efa3c5d0813512480ee7b2c050b09fe4.zip
fix(c3): fix typo of pattern (#3311)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/c3_lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/c3_lsp.lua b/lua/lspconfig/server_configurations/c3_lsp.lua
index e1d84aa4..ca4ec49c 100644
--- a/lua/lspconfig/server_configurations/c3_lsp.lua
+++ b/lua/lspconfig/server_configurations/c3_lsp.lua
@@ -4,7 +4,7 @@ return {
default_config = {
cmd = { 'c3lsp' },
root_dir = function(fname)
- return util.root_patttern { 'project.json', 'manifest.json', '.git' }(fname)
+ return util.root_pattern { 'project.json', 'manifest.json', '.git' }(fname)
end,
filetypes = { 'c3', 'c3i' },
},