diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 3b85727..bd88560 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -217,6 +217,7 @@ let base16colorspace=256 " Access colors present in 256 colorspace" set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors" execute "set background=".$BACKGROUND execute "colorscheme ".$THEME +highlight Comment cterm=italic set number " show line numbers " set relativenumber " show relative line numbers @@ -494,7 +495,8 @@ let g:neomake_typescript_tsc_maker = { \ '%C%\s%\+%m' \ } -autocmd FileType javascript let g:neomake_javascript_enabled_makers = findfile('.jshintrc', '.;') != '' ? ['jshint'] : ['eslint'] +" autocmd FileType javascript let g:neomake_javascript_enabled_makers = findfile('.jshintrc', '.;') != '' ? ['jshint'] : ['eslint'] +let g:neomake_javascript_enabled_makers = ['jshint', 'jscs'] " CtrlP ignore patterns " let g:ctrlp_custom_ignore = { @@ -534,4 +536,5 @@ call ApplyLocalSettings(expand('.')) " }}} + " vim:foldmethod=marker:foldlevel=0 diff --git a/resources/tmux-256color-italic.terminfo b/resources/tmux-256color-italic.terminfo new file mode 100644 index 0000000..83a8cc9 --- /dev/null +++ b/resources/tmux-256color-italic.terminfo @@ -0,0 +1,13 @@ +# A xterm-256color based TERMINFO that adds the escape sequences for italic. +# +# Install: +# +# tic xterm-256color-italic.terminfo +# +# Usage: +# +# export TERM=tmux-256color-italic +# +tmux-256color-italic|tmux with 256 colors and italic, + sitm=\E[3m, ritm=\E[23m, + use=xterm-256color, diff --git a/resources/xterm-256color-italic.terminfo b/resources/xterm-256color-italic.terminfo new file mode 100644 index 0000000..607940e --- /dev/null +++ b/resources/xterm-256color-italic.terminfo @@ -0,0 +1,14 @@ +# A xterm-256color based TERMINFO that adds the escape sequences for italic. +# +# Install: +# +# tic xterm-256color-italic.terminfo +# +# Usage: +# +# export TERM=xterm-256color-italic +# +# A xterm-256color based TERMINFO that adds the escape sequences for italic. +xterm-256color-italic|xterm with 256 colors and italic, + sitm=\E[3m, ritm=\E[23m, + use=xterm-256color, diff --git a/tmux/tmux.conf.symlink b/tmux/tmux.conf.symlink index 595f1f0..834d928 100644 --- a/tmux/tmux.conf.symlink +++ b/tmux/tmux.conf.symlink @@ -1,6 +1,6 @@ set -g default-command "reattach-to-user-namespace -l zsh" # tmux display things in 256 colors -set -g default-terminal "screen-256color" +set -g default-terminal "tmux-256color-italic" set -g status-utf8 on set -g history-limit 20000 diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index 2c18a1f..c59b22d 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -43,7 +43,7 @@ if [[ -d ~/bin ]]; then export PATH=~/bin:$PATH fi -[ -z "$TMUX" ] && export TERM=xterm-256color +[ -z "$TMUX" ] && export TERM=xterm-256color-italic # install rbenv if hash rbenv 2>/dev/null; then