Commit graph

16 commits

Author SHA1 Message Date
Oliver Davies 7860c3506a feat(nvim): add function to write and source files
Copied from tjdevries' config_manager repository, add a global
`save_and_exec` function that will write and source vim or lua files,
and use this within my existing `<leader>so` key mapping.
2022-01-09 23:22:04 +00:00
Oliver Davies 7d3b82884c refactor(nvim): move plugin config to the
... `after/plugin` directory
2022-01-09 23:13:42 +00:00
Oliver Davies 8cf3fed368 refactor(nvim): use fmt and shorthand variables 2022-01-09 22:48:32 +00:00
Oliver Davies 9b4fadfa28 refactor(nvim): use shorthand variables
I'm not sure if I like this, but it's less characters and seems to be
the convention with LuaSnip which will make it easier if introducing
snippets from any examples or anyone else's dotfiles.
2022-01-09 22:48:10 +00:00
Oliver Davies 0808e54b4e chore(nvim): re-enable virtual text for LSP output 2022-01-09 22:33:11 +00:00
Oliver Davies a407a9bda1 chore(nvim): enable cursorline 2022-01-09 22:29:04 +00:00
Oliver Davies 6a3c173766 refactor(nvim): use fmta for formatting 2022-01-09 22:21:49 +00:00
Oliver Davies 7d1e320c30 refactor(nvim): split snippets into separate files
Refs: #23
2022-01-09 01:09:09 +00:00
Oliver Davies 7932fb1d55 fix(nvim): format files on save with null-ls 2022-01-09 00:43:46 +00:00
Oliver Davies 09f4e9092e refactor(nvim): extract variables 2022-01-09 00:41:57 +00:00
Oliver Davies 5ff925c80c style: format lua with StyLua 2022-01-09 00:41:55 +00:00
Oliver Davies f1171dbfc0 fix(nvim): fix bufnr error for now 2022-01-08 23:56:13 +00:00
Oliver Davies a4447efaa9 fix(nvim): don't require luasnip twice 2022-01-08 23:48:32 +00:00
Oliver Davies f96368921f feat(nvim): start configuring LuaSnip
Fixes: #23
2022-01-08 23:48:26 +00:00
Oliver Davies 3950a25f2e feat(nvim): add and start configuring zen-mode
Fixes: #21
2022-01-08 23:48:20 +00:00
Oliver Davies 8916e90050 refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning
so that everything can be managed in one place, and add a role for each
piece of software.
2022-01-06 01:04:14 +00:00