aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/metals.lua
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-03-18 11:43:30 +0900
committerGitHub <noreply@github.com>2020-03-18 11:43:30 +0900
commitfc2db3c5a320fe4aa10b093fe0aece287e29b5a7 (patch)
tree3223d84168fb6bcc68b7427fc8411439c43fa353 /lua/nvim_lsp/metals.lua
parent[docgen] Update README.md (diff)
parentmetals: change config attribute name to filetypes from filetype (diff)
downloadnvim-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/nvim_lsp/metals.lua')
-rw-r--r--lua/nvim_lsp/metals.lua2
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)