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

@ -447,8 +447,8 @@ local on_attach = function(_, bufnr)
end, { desc = 'Format current buffer with LSP' })
-- Format via LSP on each write
vim.api.nvim_create_autocmd({'BufWritePre'}, {
callback = vim.lsp.buf.formatting_sync,
vim.api.nvim_create_autocmd({ 'BufWritePre' }, {
callback = vim.lsp.buf.formatting_sync
})
end

View File

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