init.lua (444B)
1 require('plugins') 2 require('settings') 3 require('keybinds') 4 5 local api = vim.api 6 7 -- Auto save when running :make 8 api.nvim_create_autocmd({ "QuickFixCmdPre" }, { 9 callback = function() 10 vim.cmd ":w" 11 end, 12 }) 13 14 require('nvim-highlight-colors').setup {} 15 16 -- Snippet settings 17 require('snippets').snippets = { 18 _global = { 19 todo = "/* TODO(jake): $0 */"; 20 note = "/* NOTE(jake): $0 */"; 21 inc = "#include <$0>"; 22 incq = "#include \"$0\""; 23 } 24 }