fix minor bar bugs
This commit is contained in:
parent
7053c2a411
commit
1e99787443
|
@ -58,8 +58,8 @@ Plug 'nathanaelkane/vim-indent-guides' " indentation guides (NOTE: doesn't seem
|
||||||
let g:indent_guides_start_level = 0
|
let g:indent_guides_start_level = 0
|
||||||
let g:indent_guides_auto_color = 1
|
let g:indent_guides_auto_color = 1
|
||||||
|
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') } " autocomplete
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " autocomplete
|
||||||
let g:deoplete#enable_at_startup = 1
|
" let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
Plug 'scrooloose/syntastic' " syntax checker
|
Plug 'scrooloose/syntastic' " syntax checker
|
||||||
Plug 'freitass/todo.txt-vim' " syntax checker
|
Plug 'freitass/todo.txt-vim' " syntax checker
|
||||||
|
@ -91,8 +91,8 @@ Plug 'posva/vim-vue', {'for': ['vue']}
|
||||||
Plug 'elixir-lang/vim-elixir', {'for': ['elixir']}
|
Plug 'elixir-lang/vim-elixir', {'for': ['elixir']}
|
||||||
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
|
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
|
||||||
Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']}
|
Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']}
|
||||||
Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown']}
|
" Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown']}
|
||||||
Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer'), 'for': ['md', 'markdown'] }
|
" Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer'), 'for': ['md', 'markdown'] }
|
||||||
Plug 'digitaltoad/vim-jade', {'for': ['pug', 'jade', 'vue']}
|
Plug 'digitaltoad/vim-jade', {'for': ['pug', 'jade', 'vue']}
|
||||||
Plug 'freitass/todo.txt-vim', {'for': ['todo']}
|
Plug 'freitass/todo.txt-vim', {'for': ['todo']}
|
||||||
Plug 'leafo/moonscript-vim', {'for': ['moon', 'moonscript']}
|
Plug 'leafo/moonscript-vim', {'for': ['moon', 'moonscript']}
|
||||||
|
@ -120,7 +120,7 @@ let python_space_errors = 1
|
||||||
autocmd FileType php setl tabstop=4 expandtab shiftwidth=4 softtabstop=4
|
autocmd FileType php setl tabstop=4 expandtab shiftwidth=4 softtabstop=4
|
||||||
|
|
||||||
" Markdown
|
" Markdown
|
||||||
autocmd BufNewFile,BufReadPost *.md setl filetype=markdown spell textwidth=0 wrapmargin=0
|
" autocmd BufNewFile,BufReadPost *.md setl filetype=markdown spell textwidth=0 wrapmargin=0
|
||||||
|
|
||||||
" Text
|
" Text
|
||||||
autocmd BufNewFile,BufReadPost *.txt setl spell textwidth=0 wrapmargin=0
|
autocmd BufNewFile,BufReadPost *.txt setl spell textwidth=0 wrapmargin=0
|
||||||
|
|
4
env/wm/extras/bar/formatter.bash
vendored
4
env/wm/extras/bar/formatter.bash
vendored
|
@ -11,7 +11,7 @@ reload_colors() {
|
||||||
|
|
||||||
# trap reload_colors SIGUSR1
|
# trap reload_colors SIGUSR1
|
||||||
|
|
||||||
LAUNCHER_BUTTONS="%{F$COLOR_DARK}%{A3:launcher2:}%{A:launcher:}!%{A}%{A} %{A3:close:}%{A:kill:}X%{A}%{A}%{F-}"
|
LAUNCHER_BUTTONS=" %{F$COLOR_DARK}%{A3:launcher2:}%{A:launcher:}!%{A}%{A} %{A3:close:}%{A:kill:}X%{A}%{A}%{F-} "
|
||||||
if [ "$NO_LAUNCHER_BUTTONS" -eq 1 ]; then
|
if [ "$NO_LAUNCHER_BUTTONS" -eq 1 ]; then
|
||||||
LAUNCHER_BUTTONS=""
|
LAUNCHER_BUTTONS=""
|
||||||
fi
|
fi
|
||||||
|
@ -76,7 +76,7 @@ while read -r line; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "%s\n" "%{l}$BAR_LEFT_CHARS$l_content $LAUNCHER_BUTTONS %{c}$c_content %{r}$r_content$BAR_RIGHT_CHARS"
|
printf "%s\n" "%{l}$BAR_LEFT_CHARS$l_content$LAUNCHER_BUTTONS%{c}$c_content%{r}$r_content$BAR_RIGHT_CHARS"
|
||||||
done
|
done
|
||||||
|
|
||||||
# echo -e "\nEND BAR LOG" >> "$BAR_LOG"
|
# echo -e "\nEND BAR LOG" >> "$BAR_LOG"
|
||||||
|
|
Reference in a new issue