chore(nvim):

- Spell check autocommand moved to filetype-based-keymaps.lua
- Remove quickfix traversal keybindings
- Lualine organized better: Git, debug on left; key, file type,
  location on right
This commit is contained in:
Pratik Tripathy
2024-12-30 23:23:17 +05:30
parent 03e277f807
commit dc94f3b0a8
4 changed files with 49 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
-- Auto reload existing session
if not vim.g.vscode then
-- Auto reload existing session
vim.api.nvim_create_autocmd("VimEnter", {
group = vim.api.nvim_create_augroup("restore_session", { clear = true }),
callback = function()
@@ -12,13 +12,3 @@ if not vim.g.vscode then
nested = true,
})
end
-- Enable spell check on markdown and text files
vim.api.nvim_create_autocmd("FileType", {
group = vim.api.nvim_create_augroup("spell_check_text_files", { clear = true }),
pattern = { "markdown", "gitcommit", "text" },
callback = function()
vim.opt.spell = true
end,
nested = true,
})