Skip to content

Commit

Permalink
Fix puppet-editor-services couldn't start
Browse files Browse the repository at this point in the history
The latest release has a line-ending problem, and it hasn't been
resolved yet:
puppetlabs/puppet-editor-services#318
  • Loading branch information
anhpt379 committed Feb 3, 2022
1 parent 9d11639 commit 2b2d986
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion linux/nvim/.config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,11 @@ for _, name in pairs(servers) do
local server_is_found, server = lsp_installer.get_server(name)
if server_is_found and not server:is_installed() then
print("Installing " .. name)
server:install()
if name == 'puppet' then
server:install('1.2.0')
else
server:install()
end
end
end

Expand Down

0 comments on commit 2b2d986

Please sign in to comment.