mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 05:11:45 +00:00
trigger on java file opened
This commit is contained in:
parent
2da89bd3e7
commit
d9eca6205a
@ -262,7 +262,12 @@ return {
|
||||
bundles = {},
|
||||
},
|
||||
}
|
||||
require('jdtls').start_or_attach(config)
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'java',
|
||||
callback = function()
|
||||
require('jdtls').start_or_attach(config)
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
||||
-- Ensure the servers and tools above are installed
|
||||
|
Loading…
Reference in New Issue
Block a user