Closed
Description
Description
maybe this is not big issue for some one but i like to have ColorColumn enabled when i am writing code so that when i exceed 81 characters of code in one line it will show me a boundry but somehow nvim-trre does not respects that.
This is my config for the colorcolumn
.
vim.cmd([[
call matchadd('ColorColumn', '\%80v')
" this will use the Color defined in you theme for the ColorColumn
]])
this will only work when a line exceeds 81 characters of code on one line you can use the set colorcolumn
if you want but the problem remains even after setting the normal option of set colorcolumn
.
NOTE: This is only issue with the nvim-tree when i open it using the
nvim .
.
Neovim version
NVIM v0.8.0-dev-1112-g6d557e324
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system and version
5.17.15-1-MANJARO x86_64 GNU/Linux
nvim-tree version
Minimal config
require("nvim-tree").setup({
auto_reload_on_write = true,
)}
Steps to reproduce
- Go to any code directory
- start nvim using
nvim .
to start it in the current directory so that nvim-tree starts up.
Expected behavior
Do not change the colorcolumn behavior
Actual behavior
Nop