view dot_config/nvim/after/plugin/executable_abolish.vim @ 313:a1ed17cc354b

Add a post-formatting handler to reload the buffer This fixes some issues with treesitter highlighting/refactor not working after formatting the buffer. source: https://github.com/lukas-reineke/dotfiles/blob/97b95c9c27cada6ff73080600f724c58f3d7ebfd/vim/lua/lsp.lua#L31
author Zeger Van de Vannet <zegervdv@me.com>
date Thu, 26 Nov 2020 09:07:17 +0100
parents d726921aaabe
children
line wrap: on
line source

" Define some common typos

Abolish  teh                                the
Abolish  hte                                the
Abolish  {leng,wid,bandwid,streng}ht        {}th
Abolish  {heig}th                           {}ht
Abolish  por{ject,gram}                     pro{}
Abolish  {,as,de,re}sing{,s,ed}             {}sign{}
Abolish  {std_,}loigc{,_vector}             {}logic{}
Abolish  emtpy                              empty


" Code typos
Abolish rpsec rspec