Commit graph

3 commits

Author SHA1 Message Date
0e34af1992
lua: Fix formatting with lua-format 2020-11-06 15:03:33 +01:00
afbe10c0d1
nvim: Fix scratchpad functionality
`:ScratchPad` command has been fixed and its functionality slightly
extended:

`:ScratchPad` will replace the current buffer with an empty scratchpad,
with the filetype defined in `g:scratchpad_ft` (or the buffer-scope
equivalent).

`:ScratchPad!` will create a new split and open the empty scratchpad
there.

Additionally, a single argument can be passed to the command with the
name of the filetype that the scratchpad should contain, e.g.
`:Scratchpad! golang`

Most of the plugin process has been shifted to lua and only a single
command mapping remains as vimscript for now.
2020-10-23 19:19:04 +02:00
00b15048df
[nvim] Add gitlens, scratchfile lua plugins
Added gitlens to show git blame for cursorline after short time. Added
makescratch plugin to create a new scratch window via simple command.
2020-05-09 14:46:49 +02:00