diff --git a/home/private_dot_config/astronvim/lua/user/init.lua b/home/private_dot_config/astronvim/lua/user/init.lua index 693d660..de8541c 100644 --- a/home/private_dot_config/astronvim/lua/user/init.lua +++ b/home/private_dot_config/astronvim/lua/user/init.lua @@ -4,8 +4,10 @@ local config = { -- This function is run last and is a good place to configuring -- augroups/autocommands and custom filetypes also this just pure lua so -- anything that doesn't fit in the normal config locations above can go here - --polish = function() - --end, + polish = function() + -- todo: convert to lua + vim.cmd('cnoremap sudow w !sudo tee % >/dev/null') + end, } return config diff --git a/home/private_dot_config/astronvim/lua/user/plugins/notify.lua b/home/private_dot_config/astronvim/lua/user/plugins/notify.lua new file mode 100644 index 0000000..9c546ba --- /dev/null +++ b/home/private_dot_config/astronvim/lua/user/plugins/notify.lua @@ -0,0 +1,5 @@ +return function(config) + -- for compatability with nvim-transparent + config.background_color = "#000000" + return config +end