LukeGoodsell/nextflow-vim

Red vertical line

Opened this issue · 3 comments

Getting a red vertical line, I assume to encourage lines to be less than a certain number of characters? Any way to turn this off?

I understand the motivation for the vertical colored line, but I also found it distracting. Here are some options for turning it off:

Use the command:

:set colorcolumn=0

Of course this will only apply to the current session.

For a more permanent solution edit the nextflow-vim/syntax/nextflow.vim file by removing the line "setlocal colorcolumn=80".

horta commented

You can add

augroup filetype_nextflow
    autocmd!
    autocmd FileType nextflow setlocal colorcolumn=0
augroup END

to your vimrc as well.

You can add

augroup filetype_nextflow
    autocmd!
    autocmd FileType nextflow setlocal colorcolumn=0
augroup END

to your vimrc as well.

I came here to solve this issue and your solution worked for me, thank you!