[nvim] Remove the html LSP config

This commit is contained in:
Alyxia Sother 2021-12-26 14:49:47 +01:00
parent b12f028ce9
commit 209057c9ff
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 0 additions and 34 deletions

View File

@ -1,34 +0,0 @@
local utils = require('kdotfiles.utils')
local lspconfig = require('lspconfig')
local file = '/etc/os-release'
local lines = utils.lines_from(file)
local os_name = utils.get_os(lines)
local cmd = (os_name == 'arch') and {'vscode-html-languageserver'} or {'vscode-html-language-server'}
vim.list_extend(cmd, {'--stdio'})
lspconfig['html'].setup({
cmd = cmd;
filetypes = {'html', 'handlebars', 'htmldjango', 'blade'};
completion_menu_label = 'HTML';
settings_scopes = {'html', 'css', 'javascript'};
settings = {
html = {
format = {
enable = false;
};
};
javascript = {
format = {
enable = false;
};
};
css = {
format = {
enable = false;
};
};
};
})