summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2022-09-11 19:53:24 +0000
committerShubham Saini <pryr@pryr.xyz>2022-09-11 19:53:24 +0000
commit8e6b40e31d3a764684d8b97f7e34993c1a53f98a (patch)
tree568ef2f6838e8029b28f19d298536a77e84ccfda /nvim
parent067640ad9484989d8b27dee89c0dd530344b4a8e (diff)
nvim: fixing for linux
Diffstat (limited to 'nvim')
-rwxr-xr-xnvim/.config/nvim/init.vim18
1 files changed, 9 insertions, 9 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index 2d40555..244ec04 100755
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -22,7 +22,7 @@ call plug#end()
22set guicursor= 22set guicursor=
23set number relativenumber 23set number relativenumber
24set mouse=a 24set mouse=a
25"set background=dark 25set background=dark
26syntax enable 26syntax enable
27set cursorline 27set cursorline
28set ignorecase 28set ignorecase
@@ -42,14 +42,14 @@ colorscheme pencil
42"hi LineNr ctermbg=16 guibg=#000000 42"hi LineNr ctermbg=16 guibg=#000000
43 43
44" Change background based on macos theme 44" Change background based on macos theme
45let output = system("defaults read -g AppleInterfaceStyle") 45" let output = system("defaults read -g AppleInterfaceStyle")
46if v:shell_error != 0 46" if v:shell_error != 0
47 set background=light 47" set background=light
48 colorscheme plain 48" colorscheme plain
49else 49" else
50 set background=dark 50" set background=dark
51 colorscheme pencil 51" colorscheme pencil
52endif 52" endif
53 53
54let mapleader=" " 54let mapleader=" "
55 55