From b74099cf2734f75a94cd47cc37cef3f721f3b664 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Mon, 18 May 2020 20:14:36 +0900 Subject: config: remove unnecessary code comennts and utf8 option Remove meaningless code comments because they are increased by copy and paste. Currently, utf8 options are only supported by clangd, so remove them from unnecessary ones. --- lua/nvim_lsp/cssls.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lua/nvim_lsp/cssls.lua') diff --git a/lua/nvim_lsp/cssls.lua b/lua/nvim_lsp/cssls.lua index c096440a..5517e7a1 100644 --- a/lua/nvim_lsp/cssls.lua +++ b/lua/nvim_lsp/cssls.lua @@ -13,7 +13,7 @@ local installer = util.npm_installer { local root_pattern = util.root_pattern("package.json") configs[server_name] = { - default_config = util.utf8_config { + default_config = { cmd = {bin_name, "--stdio"}; filetypes = {"css", "scss", "less"}; root_dir = function(fname) @@ -47,8 +47,6 @@ npm install -g vscode-css-languageserver-bin ]]; default_config = { root_dir = [[root_pattern("package.json")]]; - on_init = [[function to handle changing offsetEncoding]]; - capabilities = [[default capabilities, with offsetEncoding utf-8]]; }; }; } -- cgit v1.2.3-70-g09d2