diff options
author | Shubham Saini <pryr@pryr.xyz> | 2022-09-11 19:53:24 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2022-09-11 19:53:24 +0000 |
commit | 8e6b40e31d3a764684d8b97f7e34993c1a53f98a (patch) | |
tree | 568ef2f6838e8029b28f19d298536a77e84ccfda /nvim | |
parent | 067640ad9484989d8b27dee89c0dd530344b4a8e (diff) |
nvim: fixing for linux
Diffstat (limited to 'nvim')
-rwxr-xr-x | nvim/.config/nvim/init.vim | 18 |
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() | |||
22 | set guicursor= | 22 | set guicursor= |
23 | set number relativenumber | 23 | set number relativenumber |
24 | set mouse=a | 24 | set mouse=a |
25 | "set background=dark | 25 | set background=dark |
26 | syntax enable | 26 | syntax enable |
27 | set cursorline | 27 | set cursorline |
28 | set ignorecase | 28 | set 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 |
45 | let output = system("defaults read -g AppleInterfaceStyle") | 45 | " let output = system("defaults read -g AppleInterfaceStyle") |
46 | if v:shell_error != 0 | 46 | " if v:shell_error != 0 |
47 | set background=light | 47 | " set background=light |
48 | colorscheme plain | 48 | " colorscheme plain |
49 | else | 49 | " else |
50 | set background=dark | 50 | " set background=dark |
51 | colorscheme pencil | 51 | " colorscheme pencil |
52 | endif | 52 | " endif |
53 | 53 | ||
54 | let mapleader=" " | 54 | let mapleader=" " |
55 | 55 | ||