mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
fix(lsp): template generation for filetypes with dots (#3833)
This commit is contained in:
parent
c27d6a6c3e
commit
baf71343f0
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ function M.generate_ftplugin(server_name, dir)
|
|||
end
|
||||
|
||||
for _, filetype in ipairs(filetypes) do
|
||||
filetype = filetype:match "%.([^.]*)$" or filetype
|
||||
local filename = join_paths(dir, filetype .. ".lua")
|
||||
local setup_cmd = string.format([[require("lvim.lsp.manager").setup(%q)]], server_name)
|
||||
-- print("using setup_cmd: " .. setup_cmd)
|
||||
|
|
Loading…
Reference in a new issue