Updates
c1bda479e25011a4f7beed23eb1b6515f7099b65
1 parent
cebb253d
.vimrc
+6 -3
| 111 | 111 | au FileType vim,ruby setlocal sts=2 sw=2 expandtab |
|
| 112 | 112 | au FileType help setlocal ts=4 sw=4 noexpandtab |
|
| 113 | 113 | au FileType txt setlocal noai nocin nosi inde= wrap linebreak |
|
| 114 | 114 | au FileType pandoc setlocal nonumber |
|
| 115 | 115 | au FileType markdown setlocal nonumber |
|
| 116 | + | au FileType rst setlocal nonumber sw=2 expandtab |
|
| 116 | 117 | au FileType fountain setlocal nonumber noai nocin nosi inde= wrap linebreak |
|
| 117 | 118 | ||
| 118 | - | au BufRead,BufNewFile *.txt setf markdown |
|
| 119 | 119 | au BufRead,BufNewFile *.md setf markdown |
|
| 120 | 120 | au BufRead,BufNewFile *.tex setf tex |
|
| 121 | 121 | au BufRead,BufNewFile *.todo setf todo |
|
| 122 | 122 | au BufRead,BufNewFile *.tikz setf tex |
|
| 123 | + | au BufRead,BufNewFile *.toml setf toml |
|
| 123 | 124 | ||
| 124 | 125 | let c_no_curly_error = 1 |
|
| 125 | 126 | ||
| 126 | 127 | if has("nvim") |
|
| 127 | 128 | au TermOpen * set nonumber modifiable |
| 303 | 304 | Plug 'lervag/vimtex' |
|
| 304 | 305 | Plug 'vim-scripts/gnupg.vim' |
|
| 305 | 306 | Plug 'octol/vim-cpp-enhanced-highlight' |
|
| 306 | 307 | Plug 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': 'bash install.sh', 'for': ['cpp', 'c', 'rust']} |
|
| 307 | 308 | Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins', 'for': ['cpp', 'c', 'rust'] } |
|
| 308 | - | Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins', 'for': ['cpp', 'c', 'rust'] } |
|
| 309 | 309 | Plug 'cespare/vim-toml' |
|
| 310 | - | Plug 'rust-lang/rust.vim' |
|
| 310 | + | Plug 'rust-lang/rust.vim', { 'for': ['rust'] } |
|
| 311 | 311 | ||
| 312 | 312 | call plug#end() |
|
| 313 | 313 | endif |
|
| 314 | 314 | ||
| 315 | 315 | if has("nvim") |
|
| 316 | + | let g:rustfmt_fail_silently = 1 |
|
| 316 | 317 | autocmd BufWritePre *.rs :RustFmt |
|
| 317 | 318 | endif |
|
| 318 | 319 | ||
| 319 | 320 | " |
|
| 320 | 321 | " LSP |
| 334 | 335 | nnoremap <silent> <buffer> <leader>d :call LanguageClient#textDocument_hover()<CR> |
|
| 335 | 336 | nnoremap <silent> <buffer> <leader>c :call LanguageClient_contextMenu()<CR> |
|
| 336 | 337 | nnoremap <silent> <buffer> <leader>rn :call LanguageClient#textDocument_rename()<CR> |
|
| 337 | 338 | ||
| 338 | 339 | let g:LanguageClient_diagnosticsSignsMax = 0 |
|
| 340 | + | let g:LanguageClient_selectionUI_autoOpen = 0 |
|
| 341 | + | let g:LanguageClient_diagnosticsList = "Quickfix" |
|
| 339 | 342 | let g:LanguageClient_hoverPreview = "Never" |
|
| 340 | 343 | let g:LanguageClient_settingsPath = "settings.json" |
|
| 341 | 344 | let g:LanguageClient_windowLogMessageLevel = "Error" |
|
| 342 | 345 | endif |
|
| 343 | 346 | endif |
.xmonad/xmonad.hs
+2 -2
| 93 | 93 | , ppWsSep = "" |
|
| 94 | 94 | , ppSep = " " |
|
| 95 | 95 | , ppOutput = hPutStrLn h |
|
| 96 | 96 | } |
|
| 97 | 97 | where |
|
| 98 | - | red = "#AA0000" |
|
| 99 | - | dred = "#550000" |
|
| 98 | + | red = "maroon" |
|
| 99 | + | dred = "maroon" |
|
| 100 | 100 | white = "white" |
|
| 101 | 101 | black = "black" |
|
| 102 | 102 | light = "#888888" |
|
| 103 | 103 | dark = "#333333" |
|
| 104 | 104 | grey = "#555555" |