feat(lazy): allow for hot loading plugin specs
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
desc = "Use tabs for indents in Go files",
|
||||
pattern = "go",
|
||||
callback = function ()
|
||||
callback = function()
|
||||
vim.bo.expandtab = false
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ "BufReadPost" }, {
|
||||
desc = "Return cursor to last position when re-opening a buffer",
|
||||
pattern = "*",
|
||||
command = 'silent! normal! g`"zv',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user