Set textwidth in norg files for better readability
This commit is contained in:
parent
fc8fea536f
commit
4e2e50125d
|
@ -15,6 +15,10 @@ return {
|
||||||
pattern = { "*.norg" },
|
pattern = { "*.norg" },
|
||||||
command = "setlocal spell spelllang=en_gb",
|
command = "setlocal spell spelllang=en_gb",
|
||||||
})
|
})
|
||||||
|
vim.api.nvim_create_autocmd({ "BufReadPre", "BufNewFile" }, {
|
||||||
|
pattern = { "*.norg" },
|
||||||
|
command = "setlocal textwidth=79",
|
||||||
|
})
|
||||||
vim.api.nvim_create_autocmd({ "BufReadPost", "BufNewFile" }, {
|
vim.api.nvim_create_autocmd({ "BufReadPost", "BufNewFile" }, {
|
||||||
pattern = { "*.norg" },
|
pattern = { "*.norg" },
|
||||||
command = "lua require('nabla').enable_virt()",
|
command = "lua require('nabla').enable_virt()",
|
||||||
|
|
Loading…
Reference in a new issue