mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
add shell to list of 81 character line limits
This commit is contained in:
parent
0affd54d76
commit
ff7e141ffd
1 changed files with 3 additions and 3 deletions
|
@ -98,11 +98,11 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
|||
end,
|
||||
})
|
||||
|
||||
-- autocommand to only set 8 character line on python
|
||||
-- highlighted column 81, only on python files, to keep lines shorter
|
||||
-- autocommand to only set 81 character line limit on python, go, yaml, and shell scripts
|
||||
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
|
||||
pattern = {"*.py", "*.go", "*.yaml"},
|
||||
pattern = {"*.py", "*.go", "*.yaml", "*.sh"},
|
||||
callback = function()
|
||||
-- highlighted column 81, to keep lines to average terminal size
|
||||
vim.opt.colorcolumn = '81'
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue