mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
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:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user