diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-03-18 11:43:30 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-18 11:43:30 +0900 |
| commit | fc2db3c5a320fe4aa10b093fe0aece287e29b5a7 (patch) | |
| tree | 3223d84168fb6bcc68b7427fc8411439c43fa353 /lua | |
| parent | [docgen] Update README.md (diff) | |
| parent | metals: change config attribute name to filetypes from filetype (diff) | |
| download | nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.tar nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.tar.gz nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.tar.bz2 nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.tar.lz nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.tar.xz nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.tar.zst nvim-lspconfig-fc2db3c5a320fe4aa10b093fe0aece287e29b5a7.zip | |
Merge pull request #174 from h-michael/metals
metals: change config attribute name to filetypes from filetype
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/metals.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim_lsp/metals.lua b/lua/nvim_lsp/metals.lua index 2c06f06a..19db4892 100644 --- a/lua/nvim_lsp/metals.lua +++ b/lua/nvim_lsp/metals.lua @@ -50,7 +50,7 @@ local installer = make_installer() configs[server_name] = { default_config = { cmd = {bin_name}; - filetype = {"scala"}; + filetypes = {"scala"}; root_dir = util.root_pattern("build.sbt", "build.sc", "build.gradle", "pom.xml"); }; on_new_config = function(config) |
