nextflow-vim icon indicating copy to clipboard operation
nextflow-vim copied to clipboard

Red vertical line

Open Buuntu opened this issue 6 years ago • 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?

Buuntu avatar Jun 13 '19 15:06 Buuntu

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".

islandhopper81 avatar Jun 18 '19 15:06 islandhopper81

You can add

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

to your vimrc as well.

horta avatar Jul 15 '20 10:07 horta

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!

lskatz avatar Sep 22 '21 17:09 lskatz