From 209057c9ff3effae9faf312b33dd7ea51c934a8e Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 26 Dec 2021 14:49:47 +0100 Subject: [PATCH] [nvim] Remove the html LSP config --- nvim/dotfiles/lspconfigs/html.lua | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 nvim/dotfiles/lspconfigs/html.lua diff --git a/nvim/dotfiles/lspconfigs/html.lua b/nvim/dotfiles/lspconfigs/html.lua deleted file mode 100644 index 6b9fec4..0000000 --- a/nvim/dotfiles/lspconfigs/html.lua +++ /dev/null @@ -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; - }; - }; - }; -})