we are revamping with this one
This commit is contained in:
parent
4730682248
commit
22b71d8545
|
@ -233,12 +233,12 @@ M.format_on_save_hook = function()
|
|||
end
|
||||
|
||||
vim.cmd [[
|
||||
augroup hoverlspconfig
|
||||
au!
|
||||
" diagnostic on hover
|
||||
au BufWritePre * lua require'lsp'.format_on_save_hook()
|
||||
au CursorHold * lua vim.diagnostic.open_float({focus = false})
|
||||
augroup END
|
||||
augroup hoverlspconfig
|
||||
au!
|
||||
" diagnostic on hover
|
||||
au BufWritePre * lua require'lsp'.format_on_save_hook()
|
||||
au CursorHold * lua vim.diagnostic.open_float({focus = false})
|
||||
augroup END
|
||||
]]
|
||||
|
||||
vim.api.nvim_create_autocmd({ 'FileType',
|
||||
|
|
|
@ -23,7 +23,14 @@ return require('packer').startup({
|
|||
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = ':TSUpdate'
|
||||
run = ':TSUpdate',
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
ensure_installed = "all",
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
|
|
Loading…
Reference in New Issue
Block a user