diff options
author | Jonathan Raines <[email protected]> | 2021-07-09 09:04:01 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-09 10:04:01 -0400 |
commit | 61364778276154894649c3c31911be7cfc359d88 (patch) | |
tree | dc0c8bec3ba4d055f6ee128517d24084a68007ed | |
parent | 8717f4f9a9606a32f0f8ed45ffae99f5c0dcc0e9 (diff) |
Add colorcolumn option for those who don't use indent line (#814)
* Add colorcolumn option for those who don't use indent line
* Moved comment to appropriate place
-rw-r--r-- | lua/default-config.lua | 1 | ||||
-rw-r--r-- | lua/settings.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua index 60c1ba19..db80786c 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -8,6 +8,7 @@ O = { format_on_save = true, auto_close_tree = 0, auto_complete = true, + colorcolumn = "99999", -- fixes indentline for now colorscheme = "spacegray", clipboard = "unnamedplus", hidden_files = true, diff --git a/lua/settings.lua b/lua/settings.lua index 06da6e6d..09646b9c 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -20,7 +20,7 @@ end opt.backup = false -- creates a backup file opt.clipboard = O.clipboard -- allows neovim to access the system clipboard opt.cmdheight = O.cmdheight -- more space in the neovim command line for displaying messages -opt.colorcolumn = "99999" -- fix indentline for now +opt.colorcolumn = O.colorcolumn opt.completeopt = { "menuone", "noselect" } opt.conceallevel = 0 -- so that `` is visible in markdown files opt.fileencoding = "utf-8" -- the encoding written to a file |