Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Jun 5, 2017
1 parent 27854d8 commit eb0e26f
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 3,225 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -9,8 +9,9 @@ To install neovim plugins and `init.vim`
make install-nvim

*See also*:
- [`oxyc/mac-playbook`](https://github.com/oxyc/mac-playbook) (the playbook used to provision my Macbook)
- [`oxyc/dotfiles`](https://github.com/oxyc/dotfiles) (my dotfiles)

- [`oxyc/mac-playbook`](https://github.com/oxyc/mac-playbook) (the playbook used to provision my Macbook)
- [`oxyc/dotfiles`](https://github.com/oxyc/dotfiles) (my dotfiles)

### Screenshot

Expand Down
24 changes: 22 additions & 2 deletions dein.toml
Expand Up @@ -271,6 +271,9 @@ hook_source = '''
" tidy is annoying
let g:syntastic_html_checkers = []
let g:syntastic_markdown_mdl_exec = 'markdownlint'
let g:syntastic_markdown_mdl_args = ''
let g:syntastic_stl_format = '[%E{Error 1/%e: line %fe}%B{, }%W{Warning 1/%w: line %fw}]'
'''

Expand Down Expand Up @@ -538,6 +541,10 @@ hook_source = '''
[[plugins]]
repo = 'cespare/vim-toml'
on_ft = 'toml'
hook_source = '''
" Fix syntax hihglighting in big files.
autocmd MyAutoCmd FileType toml syntax sync minlines=500
'''

# CSS3 syntax highlighting
# https://github.com/hail2u/vim-css3-syntax
Expand All @@ -551,6 +558,19 @@ on_ft = ['css', 'less', 'sass']
repo = 'othree/html5.vim'
on_ft = 'html'

# PHP syntax highlighting
# https://github.com/othree/html5.vim
[[plugins]]
repo = 'StanAngeloff/php.vim'
on_ft = 'php'
hook_source = '''
" Highlight SQL queries expressed in strings
let g:php_sql_query = 1
let g:php_folding = 1
" Indent switch case and default
let g:PHP_vintage_case_default_indent = 1
'''

# @todo
# rgb, rbga color notation
# https://github.com/skammer/vim-css-color
Expand Down Expand Up @@ -609,6 +629,6 @@ repo = 'beyondwords/vim-twig'
on_ft = ['twig', 'html.twig']
hook_source = '''
" Filetype should be twig while syntax is both html and twig.
autocmd BufRead,BufNewFile *.twig set filetype=twig
autocmd BufRead,BufNewFile *.twig set syntax=html.twig
autocmd MyAutoCmd BufRead,BufNewFile *.twig set filetype=twig
autocmd MyAutoCmd BufRead,BufNewFile *.twig set syntax=html.twig
'''
Empty file removed dictionaries/dictionary
Empty file.

0 comments on commit eb0e26f

Please sign in to comment.