summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 7e1e16d..f7f6967 100644
--- a/.vimrc
+++ b/.vimrc
@@ -24,7 +24,7 @@ set expandtab
set guifont=Inconsolata\ Medium\ 11,Monospace\ 11
set spelllang=de_20
-if has("gui") " nice cursorline in the gui
+if has("gui_running") " nice cursorline in the gui
set cursorline
else " explicitly disable it all else
set nocursorline