From c40cdf87b3f67c0618b945f38f83cf49a2c22c59 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Sun, 11 Jun 2023 22:13:26 -0400 Subject: [PATCH] fix --- .../modules/neovim/config/lazyvim/lua/config/autocmds.lua | 5 +---- .../modules/neovim/config/lazyvim/lua/config/options.lua | 5 +++++ .../modules/neovim/config/lazyvim/lua/plugins/core.lua | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua b/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua index 2ec03c0..63fd7ad 100644 --- a/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua +++ b/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua @@ -1,9 +1,6 @@ -- Autocmds are automatically loaded on the VeryLazy event -- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua -- Add any additional autocmds here --- -vim.cmd([[highlight Normal guibg=NONE ctermbg=NONE]]) - local lsp = require("lsp-zero").preset({}) lsp.on_attach(function(client, bufnr) @@ -100,7 +97,7 @@ cmp.setup({ [""] = cmp.mapping({ i = function(fallback) if cmp.visible() and cmp.get_active_entry() then - cmp.confirm({ behavior = cmp.confirmbehavior.replace, select = true }) + cmp.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true }) else fallback() end diff --git a/homeConfig/modules/neovim/config/lazyvim/lua/config/options.lua b/homeConfig/modules/neovim/config/lazyvim/lua/config/options.lua index 418907d..37e2f17 100644 --- a/homeConfig/modules/neovim/config/lazyvim/lua/config/options.lua +++ b/homeConfig/modules/neovim/config/lazyvim/lua/config/options.lua @@ -8,6 +8,11 @@ vim.opt.softtabstop = 2 vim.opt.expandtab = true vim.opt.smartindent = true +vim.cmd([[ + autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4 + autocmd FileType haskell setlocal tabstop=4 shiftwidth=4 softtabstop=4 +]]) + vim.opt.ignorecase = true vim.opt.smartcase = true diff --git a/homeConfig/modules/neovim/config/lazyvim/lua/plugins/core.lua b/homeConfig/modules/neovim/config/lazyvim/lua/plugins/core.lua index 144a292..a4e48a7 100644 --- a/homeConfig/modules/neovim/config/lazyvim/lua/plugins/core.lua +++ b/homeConfig/modules/neovim/config/lazyvim/lua/plugins/core.lua @@ -5,7 +5,7 @@ return { priority = 1000, config = function() require("github-theme").setup({ - opts = { + options = { transparent = true, }, })