Browse Source

Bring ale back to something more defaulty

main
Amelia A 6 months ago
parent
commit
82b90300b2
Signed by: amy GPG Key ID: 98E879BC3B6E1BF8
  1. 2
      README.md
  2. 11
      home/.config/nvim/init.vim

2
README.md

@ -46,7 +46,7 @@ Instead of running brew upgrade manually I run my `pour` function which does a l
### ssh
I included my ssh_config because I think it can be useful to others.
I included my ssh config because I think it can be useful to others.
The keys directory setup means for every host or set of hosts I log into I generate a different key!
This means loosing a single key to a single system is not a large swath of revokes.

11
home/.config/nvim/init.vim

@ -9,15 +9,15 @@ let g:python3_host_prog = glob('~/.asdf/shims/python3')
" ==== Most ALE settings need to be loaded before plugins
let g:ale_close_preview_on_insert = 1
let g:ale_floating_preview = 1
let g:ale_hover_cursor = 1
let g:ale_completion_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_list_window_size = 4
let g:ale_floating_preview = 1
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace']}
" ==== I use some alt plugins, again preload
let g:polyglot_disabled = ['markdown', 'go']
" ==== vim plug
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
@ -46,6 +46,7 @@ Plug 'tpope/vim-commentary' " comment things with gc g<motion>c
Plug 'tpope/vim-endwise' " Close my definitions like I close my braces
Plug 'tpope/vim-fugitive' " Do git in vim
Plug 'tpope/vim-rhubarb' " Make fugitive do github
Plug 'tpope/vim-markdown' " Good markdown highlighting
Plug 'junegunn/vim-easy-align', { 'on': ['<Plug>(EasyAlign)', 'EasyAlign'] } " Text Alignment plugin
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }

Loading…
Cancel
Save