Skip to content

Commit

Permalink
Create colorallinone.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 authored Nov 19, 2023
1 parent dfd6a24 commit 6ff3cd4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions autoload/colorallinone.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
if exists('g:loaded_color_all_in_one')
finish
endif
let g:loaded_color_all_in_one=1

let s:is_win = has('win32') || has('win64')

if s:is_win && &shellslash
set noshellslash
let s:caio_base = expand('<sfile>:p:h:h:h')
set shellslash
else
let s:caio_base = expand('<sfile>:p:h:h:h')
endif

function! colorallinone#base_dir() abort
return s:caio_base
endfunction

0 comments on commit 6ff3cd4

Please sign in to comment.