DataGrip - Disable code highlighting - jetbrains-ide

Is it possible to disable this purple line syntax highlighting feature of DataGrip? All my code is being surrounded by those lines and i couldn't find the right option at settings.

That's the setting you need, friend.

Related

How to remove row lines in vim?

How do i remove the row lines at the start of the line? I typed the command
:s/^/# /
while in command mode and it suddenly appeared. I typed the command again, but it's still in my editor. I was trying to comment out a few blocks of code. This is the stackoverflow page I was following: What's a quick way to comment/uncomment lines in Vim?
Please see the image below to see what I'm pertaining to. Thanks in advance!
Vim highlights the current search pattern; this is the 'incsearch' option; either you have it explicitly turned on in your ~/.vimrc, or you use a recent Vim 8 version that has this enabled by the defaults.
Check with :hi IncSearch; it should show the same white-underscore-onblack formatting as your screenshot. You can also use a :hi command to customize this (or choose a different colorscheme).
To turn this off, use
:nohlsearch
You can shorten that to :noh; some people also define a mapping to quickly clear this. Alternatively, you can also search for something else.

spf13-vim disable tab highlighting

I'm an absolut vim-newbie so I thought I'll try it with some preconfigured distribution like spf13-vim. So to my question, I would like to disable the "tab-highlighting" because I find it kind of distracting...
I think this picture should make clear what I mean
Put a line below in your ~/.vimrc.local or ~/.vimrc.before.local to disable indent guide by default. You can <leader>ig as well.
let g:indent_guides_enable_on_vim_startup = 0
You can toggle them on/off with ,ig.
write set nolist in your .vimrc.local to turn it off.
see :h list
'list' boolean (default off)
List mode: Show tabs as CTRL-I is displayed, display $ after end of
line. Useful to see the difference between tabs and spaces and for
trailing blanks. Further changed by the 'listchars' option.

Codefolding / Indent guides in Vim?

During a research for useful vim plugins I found a screenshot of a vim window showing some kind of dotted guides highlighting either indentation or folds. I'm not sure about what they highlight actually.
Does anyone know which plugin generates these guides and what their purpose is?
You can find the screenshot right here: http://oi54.tinypic.com/2yysefm.jpg
If you use tabs to indent your code, you can use the 'list' option to make your tabs visible.
In your ~/.vimrc:
set list
set listchars=tab:┊\ <-- don't forget the trailing space.
Obviously, this will work only if Vim supports utf-8.

Changing vim 'gutter' color

See the screenshot of how I have vim configured below. The 'gutter' i.e. where the '+' and '~' symbols appear show my git status using this amazing sublime text port for vim: https://github.com/airblade/vim-gitgutter
How do I change the color of the gutter where there are no '+'/'~' symbols? I.e. the grey part? This is how you change the number column: VIM initial settings: change backgound color for line number on the left side? but I can't find how to change the 'gutter' color.
Any ideas?
Many thanks.
This "gutter" is called the signs column. (See :help signs for more information.) The highlight group associated with this column is called SignColumn, and can be set like this (using the example from the help section):
:highlight SignColumn guibg=darkgrey
To change the color in your ~/.vimrc so that your gutter is the same color as where your line numbers show up is the following:
highlight clear SignColumn
The git-gutter docs have some other helpful suggestions.
Another option that hasn't been mentioned is to eliminate the sign column entirely and put the signs into the number column.
Adding this to your ~/.vimrc
set signcolumn=number
produces
(this is using custom symbols with the Ale plugin in iterm Vim).
This is available in "full" Vim versions 7.4.2201 or newer that include the +signs feature (I use the version installed by Homebrew on MacOS).
From the screenshot, I think you're using https://github.com/altercation/vim-colors-solarized/ as your colorscheme, as I was. Another solution for this particular case is to switch to https://github.com/ericbn/vim-solarized, as #altercation's version has a bunch of open PRs fixing that very issue and no changes in the last decade.

Removing tab colouring in MacVim

I am new to using Vim/MacVim environments and under a pre-existing configuration handed to me by a friend (sort of a newbie-starter-kit), there is a marked tab character which has not been followed with a piece of code, as can be seen in the screenshot below. Which option in Vim can be used to remove this effect?
Thanks in advance for the help.
The following will reveal the syntax group that colors the tab in such a way:
Put the cursor on the marked tab, then do the following:
:echo synIDattr(synID(line("."),col("."),1),"name")
It will show you the syntax group of the current character under the cursor. Then you can use the following to show the color assignment:
:hi <ouput from previous command>
From there you can start searching where in the vim config files the syntax and highlighting are assigned.

Resources