aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-02-10 22:59:31 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-02-10 22:59:31 +0100
commitff4c5962014c0b0c49da786536bba0cd16dfe10a (patch)
tree8163fc8749a623bdfda8645c0e1f29ddf2a8df9b /plugin
parentc7f83264c47241f888afeec85057b5a2f7024c7b (diff)
downloadnvim-conf-ff4c5962014c0b0c49da786536bba0cd16dfe10a.tar.gz
nvim-conf-ff4c5962014c0b0c49da786536bba0cd16dfe10a.zip
more improvements, split into the right files
Diffstat (limited to 'plugin')
-rw-r--r--plugin/packer_compiled.lua2
-rw-r--r--plugin/styles.vim2
2 files changed, 3 insertions, 1 deletions
diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua
index 9a0a135..9958be2 100644
--- a/plugin/packer_compiled.lua
+++ b/plugin/packer_compiled.lua
@@ -371,8 +371,8 @@ time([[Defining packer_plugins]], false)
-- Command lazy-loads
time([[Defining lazy-load commands]], true)
-pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Http lua require("packer.load")({'vim-http'}, { cmd = "Http", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file VimwikiIndex lua require("packer.load")({'vimwiki'}, { cmd = "VimwikiIndex", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
+pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Http lua require("packer.load")({'vim-http'}, { cmd = "Http", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
time([[Defining lazy-load commands]], false)
if should_profile then save_profiles() end
diff --git a/plugin/styles.vim b/plugin/styles.vim
new file mode 100644
index 0000000..c7482e8
--- /dev/null
+++ b/plugin/styles.vim
@@ -0,0 +1,2 @@
+" remove whitespaces
+autocmd BufWritePre * :%s/\s\+$//e