Compare commits

..

2 Commits

Author SHA1 Message Date
juan
1d76f7f666
Fix a bug that lsp server doesn't attach 2022-11-21 10:46:22 +08:00
juan
3e2ea4e66c
Remove indent blankline 2022-11-21 10:26:10 +08:00
2 changed files with 2 additions and 7 deletions

View File

@ -48,7 +48,7 @@ map('', '<leader>tt', ':TagbarToggle<cr>', { silent = true })
map('', '<C-n>', ':NvimTreeToggle<cr>', { silent = true })
-- toggle formatter
map('', '<leader>fm', ':lua vim.lsp.buf.formatting()<cr>', { silent = true })
map('', '<leader>fm', ':lua vim.lsp.buf.format({async = true})<cr>', { silent = true })
-- toggle Hop
map('', '<leader>b', ':HopWordBC<cr>', { silent = true })

View File

@ -72,7 +72,7 @@ return require('packer').startup(function(use)
}
-- formating and editing
use { "williamboman/mason.nvim", event = "UIEnter" }
use { "williamboman/mason.nvim", event = 'BufEnter'}
use {
'windwp/nvim-autopairs',
after = 'nvim-cmp',
@ -133,11 +133,6 @@ return require('packer').startup(function(use)
}
-- eye-candy
use {
'lukas-reineke/indent-blankline.nvim',
after = { 'nvim-treesitter' },
config = function() require 'plugins.indent-blankline' end
}
use {
'lewis6991/gitsigns.nvim',
event = 'UIEnter',