diff --git a/doc/configs.md b/doc/configs.md index 707bc175b8..4db0d37497 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -4730,7 +4730,7 @@ Default config: - `cmd`: [../lsp/gdscript.lua:11](../lsp/gdscript.lua#L11) - `filetypes` : ```lua - { "gd", "gdscript", "gdscript3" } + { "gdscript" } ``` - `root_markers` : ```lua diff --git a/doc/configs.txt b/doc/configs.txt index 5aaf3361d3..bb95252e5f 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -3352,7 +3352,7 @@ Snippet to enable the language server: >lua Default config: - cmd (use "gF" to view): ../lsp/gdscript.lua:11 - filetypes: >lua - { "gd", "gdscript", "gdscript3" } + { "gdscript" } - root_markers: >lua { "project.godot", ".git" } < diff --git a/lsp/gdscript.lua b/lsp/gdscript.lua index d0d25b2e76..9b3c861bb5 100644 --- a/lsp/gdscript.lua +++ b/lsp/gdscript.lua @@ -10,6 +10,6 @@ local cmd = vim.lsp.rpc.connect('127.0.0.1', tonumber(port)) ---@type vim.lsp.Config return { cmd = cmd, - filetypes = { 'gd', 'gdscript', 'gdscript3' }, + filetypes = { 'gdscript' }, root_markers = { 'project.godot', '.git' }, }