config from linux laptop
This commit is contained in:
parent
cad2c1497e
commit
9318a9543f
6
init.lua
6
init.lua
|
@ -110,7 +110,7 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Useful plugin to show you pending keybinds.
|
-- Useful plugin to show you pending keybinds.
|
||||||
{ 'folke/which-key.nvim', opts = {} },
|
{ 'folke/which-key.nvim', opts = {} },
|
||||||
{
|
{
|
||||||
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
|
@ -447,8 +447,8 @@ local on_attach = function(_, bufnr)
|
||||||
end, { desc = 'Format current buffer with LSP' })
|
end, { desc = 'Format current buffer with LSP' })
|
||||||
|
|
||||||
-- Format via LSP on each write
|
-- Format via LSP on each write
|
||||||
vim.api.nvim_create_autocmd({'BufWritePre'}, {
|
vim.api.nvim_create_autocmd({ 'BufWritePre' }, {
|
||||||
callback = vim.lsp.buf.formatting_sync,
|
callback = vim.lsp.buf.formatting_sync
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
"christoomey/vim-tmux-navigator"
|
||||||
|
}
|
Loading…
Reference in New Issue