mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
set spell check for markdown, markdown extended, and text files
This commit is contained in:
parent
a2ff8bca42
commit
0b4b172d5f
1 changed files with 7 additions and 0 deletions
|
@ -107,6 +107,13 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
|||
end,
|
||||
})
|
||||
|
||||
-- autocommand to only set 81 character line limit on python, go, yaml, and shell scripts
|
||||
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
||||
pattern = {"*.txt", "*.md", "*.mdx"},
|
||||
callback = function()
|
||||
vim.cmd("set spell")
|
||||
end,
|
||||
})
|
||||
|
||||
require('user.tree-sitter')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue