mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 23:16:44 +00:00
@@ -179,6 +179,14 @@ map('n', '=', ':BufferPick<CR>', opts)
|
||||
-- choosewin
|
||||
map('n', '-', '<Plug>(choosewin)', { noremap = false })
|
||||
|
||||
-- sort go imports
|
||||
-- vim.api.nvim_create_autocmd('BufWritePre', {
|
||||
-- pattern = '*.go',
|
||||
-- callback = function()
|
||||
-- vim.lsp.buf.code_action({ context = { only = { 'source.organizeImports' } }, apply = true })
|
||||
-- end
|
||||
-- })
|
||||
|
||||
-- Some configurations not able to migrate
|
||||
api.nvim_exec(
|
||||
[[
|
||||
|
||||
Reference in New Issue
Block a user