diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-06-16 14:02:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-16 14:02:44 +0900 |
| commit | c05660bf7f2fe62e310e3cb800de8b6a55163229 (patch) | |
| tree | b649906e6c24ff6cf2b62dc9b028c1cdf3d4c303 /lua/nvim_lsp | |
| parent | [docgen] Update README.md (diff) | |
| parent | config: remove unnecessary code comennts and utf8 option (diff) | |
| download | nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.tar nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.tar.gz nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.tar.bz2 nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.tar.lz nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.tar.xz nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.tar.zst nvim-lspconfig-c05660bf7f2fe62e310e3cb800de8b6a55163229.zip | |
Merge pull request #281 from h-michael/utf8
config: remove unnecessary code comennts and utf8 option
Diffstat (limited to 'lua/nvim_lsp')
| -rw-r--r-- | lua/nvim_lsp/html.lua | 2 | ||||
| -rw-r--r-- | lua/nvim_lsp/jsonls.lua | 2 | ||||
| -rw-r--r-- | lua/nvim_lsp/purescriptls.lua | 2 | ||||
| -rw-r--r-- | lua/nvim_lsp/rust_analyzer.lua | 2 | ||||
| -rw-r--r-- | lua/nvim_lsp/yamlls.lua | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lua/nvim_lsp/html.lua b/lua/nvim_lsp/html.lua index 363fba7b..e8ccc0ac 100644 --- a/lua/nvim_lsp/html.lua +++ b/lua/nvim_lsp/html.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 = {"html"}; root_dir = function(fname) diff --git a/lua/nvim_lsp/jsonls.lua b/lua/nvim_lsp/jsonls.lua index 940d608a..f384c0d9 100644 --- a/lua/nvim_lsp/jsonls.lua +++ b/lua/nvim_lsp/jsonls.lua @@ -11,7 +11,7 @@ local installer = util.npm_installer { } configs[server_name] = { - default_config = util.utf8_config { + default_config = { cmd = {bin_name, "--stdio"}; filetypes = {"json"}; root_dir = util.root_pattern(".git", vim.fn.getcwd()); diff --git a/lua/nvim_lsp/purescriptls.lua b/lua/nvim_lsp/purescriptls.lua index d42c79bb..6a00caae 100644 --- a/lua/nvim_lsp/purescriptls.lua +++ b/lua/nvim_lsp/purescriptls.lua @@ -11,7 +11,7 @@ local installer = util.npm_installer { } configs[server_name] = { - default_config = util.utf8_config { + default_config = { cmd = {"purescript-language-server", "--stdio"}; filetypes = {"purescript"}; root_dir = util.root_pattern("spago.dhall", "bower.json"); diff --git a/lua/nvim_lsp/rust_analyzer.lua b/lua/nvim_lsp/rust_analyzer.lua index 633dd72f..f02b6c03 100644 --- a/lua/nvim_lsp/rust_analyzer.lua +++ b/lua/nvim_lsp/rust_analyzer.lua @@ -2,7 +2,7 @@ local configs = require 'nvim_lsp/configs' local util = require 'nvim_lsp/util' configs.rust_analyzer = { - default_config = util.utf8_config { + default_config = { cmd = {"rust-analyzer"}; filetypes = {"rust"}; root_dir = util.root_pattern("Cargo.toml", "rust-project.json"); diff --git a/lua/nvim_lsp/yamlls.lua b/lua/nvim_lsp/yamlls.lua index fbe9950f..dcdb3ac3 100644 --- a/lua/nvim_lsp/yamlls.lua +++ b/lua/nvim_lsp/yamlls.lua @@ -11,7 +11,7 @@ local installer = util.npm_installer { } configs[server_name] = { - default_config = util.utf8_config { + default_config = { cmd = {bin_name, "--stdio"}; filetypes = {"yaml"}; root_dir = util.root_pattern(".git", vim.fn.getcwd()); |
