config from linux laptop

This commit is contained in:
jannawro 2023-11-11 11:55:56 +01:00
parent cad2c1497e
commit 9318a9543f
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
return {
"christoomey/vim-tmux-navigator"
}