Commits

Ilkka Hakkari committed 3ac68d2

Colors, tabcomplete

  • Participants
  • Parent commits 78164f0

Comments (0)

Files changed (4)

+
+syntax: glob
+
+undo/
+

File config/candycode.vim

 hi CursorIM     guifg=#000000       guibg=#aaccff       gui=NONE
             \   ctermfg=black       ctermbg=white       cterm=reverse
 hi CursorLine   guifg=NONE          guibg=#1b1b1b       gui=NONE
-            \   ctermfg=NONE        ctermbg=NONE        cterm=NONE
+            \   ctermfg=NONE        ctermbg=NONE        cterm=NONE  cterm=underline
 hi CursorColumn guifg=NONE          guibg=#1b1b1b       gui=NONE
             \   ctermfg=NONE        ctermbg=NONE        cterm=NONE
 

File config/init.vim

 runtime config/defaults.vim
 runtime config/windows.vim
 runtime config/leaders.vim
-"runtime config/candycode.vim
+runtime config/candycode.vim
 runtime config/whitespace.vim
 runtime config/autocomplete.vim
 runtime config/undo.vim

File config/tabcomplete.vim

 endfunction
 :inoremap <Tab> <C-R>=Tab_Or_Complete()<CR>
 
+set ofu=syntaxcomplete#Complete
+
+autocmd FileType python set omnifunc=pythoncomplete#Complete
+autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
+autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
+autocmd FileType css set omnifunc=csscomplete#CompleteCSS
+