diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-05-18 20:14:36 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-05-18 20:14:36 +0900 |
| commit | b74099cf2734f75a94cd47cc37cef3f721f3b664 (patch) | |
| tree | 46fe1182d7f88d4f17510710b215e6ce39df3d80 /lua/nvim_lsp/elmls.lua | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.tar nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.tar.gz nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.tar.bz2 nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.tar.lz nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.tar.xz nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.tar.zst nvim-lspconfig-b74099cf2734f75a94cd47cc37cef3f721f3b664.zip | |
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.
Diffstat (limited to 'lua/nvim_lsp/elmls.lua')
| -rw-r--r-- | lua/nvim_lsp/elmls.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/nvim_lsp/elmls.lua b/lua/nvim_lsp/elmls.lua index 4f95cebf..15ce4e7d 100644 --- a/lua/nvim_lsp/elmls.lua +++ b/lua/nvim_lsp/elmls.lua @@ -17,7 +17,7 @@ default_capabilities.offsetEncoding = {"utf-8", "utf-16"} local elm_root_pattern = util.root_pattern("elm.json") configs[server_name] = { - default_config = util.utf8_config { + default_config = { cmd = {bin_name}; -- TODO(ashkan) if we comment this out, it will allow elmls to operate on elm.json. It seems like it could do that, but no other editor allows it right now. filetypes = {"elm"}; @@ -62,8 +62,6 @@ npm install -g elm elm-test elm-format @elm-tooling/elm-language-server ]]; default_config = { root_dir = [[root_pattern("elm.json")]]; - on_init = [[function to handle changing offsetEncoding]]; - capabilities = [[default capabilities, with offsetEncoding utf-8]]; }; }; } |
