Updates
This commit is contained in:
parent
2a8cdbc0fa
commit
f6813cdefb
1 changed files with 3 additions and 3 deletions
|
@ -347,8 +347,8 @@ _G.load_config = function()
|
||||||
|
|
||||||
-- metals
|
-- metals
|
||||||
vim.opt_global.shortmess:remove('F'):append 'c'
|
vim.opt_global.shortmess:remove('F'):append 'c'
|
||||||
metals_config = require('metals').bare_config
|
Metals_config = require('metals').bare_config
|
||||||
metals_config.init_options.statusBarProvider = 'on'
|
Metals_config.init_options.statusBarProvider = 'on'
|
||||||
vim.cmd [[augroup lsp]]
|
vim.cmd [[augroup lsp]]
|
||||||
vim.cmd [[au!]]
|
vim.cmd [[au!]]
|
||||||
vim.cmd [[au FileType scala,sbt lua require("metals").initialize_or_attach(metals_config)]]
|
vim.cmd [[au FileType scala,sbt lua require("metals").initialize_or_attach(metals_config)]]
|
||||||
|
@ -379,7 +379,7 @@ _G.load_config = function()
|
||||||
path = true,
|
path = true,
|
||||||
nvim_lsp = {
|
nvim_lsp = {
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
filetypes = { 'scala', 'sbt', 'java' },
|
filetypes = { 'scala', 'sbt', 'java', 'python' },
|
||||||
},
|
},
|
||||||
nvim_lua = true,
|
nvim_lua = true,
|
||||||
buffer = true,
|
buffer = true,
|
||||||
|
|
Loading…
Reference in a new issue