From 6c8b42714342de01da6e49ed6e05fb0c70dee147 Mon Sep 17 00:00:00 2001 From: theonepath Date: Sat, 27 Jan 2024 12:44:08 +0000 Subject: [PATCH] Updated files --- after/plugin/luasnips.lua | 2 +- init.lua | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/after/plugin/luasnips.lua b/after/plugin/luasnips.lua index 6c9ddd2..7ca6660 100644 --- a/after/plugin/luasnips.lua +++ b/after/plugin/luasnips.lua @@ -16,4 +16,4 @@ ls.config.set_config{ --Autosnippets: enable_autosnippets = true, } -require("luasnip/loaders/from_vscode").load() +require("luasnip/loaders/from_vscode").lazy_load() diff --git a/init.lua b/init.lua index 4b614a2..7b2ee3b 100644 --- a/init.lua +++ b/init.lua @@ -1,12 +1,10 @@ --- Plugins for Nevim via Packer -require('plugins') +require('plugin') -- Instantiate the gruvbox theme via native vimscript -- Note: this always comes before anything, or the theme breaks vim.cmd([[ set termguicolors let g:gruvbox_italic=1 - colorscheme gruvbox set cursorline set cursorcolumn set number @@ -14,10 +12,13 @@ vim.cmd([[ set textwidth=120 sw=4 ts=4 et colorcolumn=120 highlight ColorColumn ctermbg=0 set splitbelow splitright + autocmd BufRead,BufNewFile *.bottle set filetype=bottle + AirlineTheme catppuccin ]]) + -- Custom extension presser (WIP) -local presser = require'presser' +local presser = require'presser-ui' presser.setup( { } ) -- Custom keybindings using the util `map` function