You've already forked dotfiles
feat: Working on filling in the gaps of LSPs, this time with html
language support.
This commit is contained in:
19
nvim/after/lsp/html.lua
Normal file
19
nvim/after/lsp/html.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
cmd = function(dispatchers, _)
|
||||
return vim.lsp.rpc.start({'vscode-html-language-server', '--stdio' }, dispatchers)
|
||||
end,
|
||||
filetypes = { 'html' },
|
||||
init_options = {
|
||||
provideFormatter = true,
|
||||
configurationSection = { 'html', 'css', 'javascript' },
|
||||
embeddedLanguages = {
|
||||
css = true,
|
||||
javascript = true
|
||||
}
|
||||
},
|
||||
root_markers = { 'package.json', '.git' },
|
||||
-- root_dir = function(fname)
|
||||
-- return root_pattern(fname) or vim.loop.os_homedir()
|
||||
-- end,
|
||||
settings = {},
|
||||
}
|
||||
Reference in New Issue
Block a user