Browse Source

vim: syntastic for perl; xmonad: @workspace

Turns on syntastic checking for Perl, and adds podchecker so it'll also
catch errors in POD.

Changes the marker xmobar is using for currently active workspace.
externality
Brennen Bearnes 3 years ago
parent
commit
1907465682
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      home/.vimrc
  2. +1
    -1
      home/.xmonad/xmonad.hs

+ 4
- 1
home/.vimrc View File

@ -116,10 +116,13 @@ set nocompatible
Plugin 'plasticboy/vim-markdown'
" graceful syntax checking for many languages:
" - apt-get install shellcheck for shell linting
Plugin 'scrooloose/syntastic'
let g:syntastic_check_on_open = 1
let g:syntastic_php_checkers = ['php']
let g:syntastic_perl_lib_path = [ './lib', './lib/auto' ]
let g:syntastic_enable_perl_checker = 1
let g:syntastic_perl_lib_path = ['./lib', './lib/auto']
let g:syntastic_perl_checkers = ['perl', 'podchecker']
" add option to show a diff when there's a swapfile on disk:
" Plugin 'chrisbra/Recover.vim'


+ 1
- 1
home/.xmonad/xmonad.hs View File

@ -154,7 +154,7 @@ main = do
-- https://wiki.archlinux.org/index.php/Xmonad#More_configurable
-- https://stackoverflow.com/questions/21218309/how-to-use-dzen-instead-of-xmobar-in-this-unusual-setup#21445159
myBar = "xmobar"
myPP = xmobarPP { ppCurrent = xmobarColor "green" "" . wrap "<" ">" . shorten 50 }
myPP = xmobarPP { ppCurrent = xmobarColor "green" "" . wrap "@" "" . shorten 50 }
toggleStrutsKey XConfig { XMonad.modMask = modMask } = (modMask, xK_b)
defaults = def {


Loading…
Cancel
Save