Commit graph

7 commits

Author SHA1 Message Date
Marty Oehme 892c1c9edb
Move tests to test directory 2021-05-04 20:42:26 +02:00
Marty Oehme d29d92cc0a
Remove hardcoded options, do repo house-cleaning
Update readme and tmux.session file.

Remove unused tests, update option calling.
2020-11-04 22:27:30 +01:00
Marty Oehme 320007e14b
Move anchor prepend function to anchor module 2020-10-31 11:05:30 +01:00
Marty Oehme cac9720d35
Refactor anchor and link functions into files 2020-10-30 16:30:37 +01:00
Marty Oehme ece30350c2
Refactor options to separate file
Options were previously set ad-hoc in the initialize function, but
re-set and overwritten at various places.

Options now live in one central module (options.lua), where they
directly access the neovim options set, and re-access them on any run.

That means options can be changed while the plugin is running and it
will use their newer versions, without requiring any re-initialization.
2020-10-30 16:04:23 +01:00
Marty Oehme e5afcb5e15
Reformat lua code with lua-format 2020-10-29 19:00:23 +01:00
Marty Oehme 1c44f244e4
Refactor list functions and options
Moved list functionality into separate file list.lua.
Moved zettelkasten options from local variables to table-scoped
variables, initialized in ZK.init().
2020-10-29 18:17:00 +01:00