LukeGoodsell / nextflow-vim

Nextflow plugin for VIM
48 stars 20 forks source link

Red vertical line #3

Open Buuntu opened 5 years ago

Buuntu commented 5 years ago

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?

islandhopper81 commented 5 years ago

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 4 years ago

You can add

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

to your vimrc as well.

lskatz commented 3 years ago

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!