diff --git a/init.lua b/init.lua index c56afdd1..9f62578e 100644 --- a/init.lua +++ b/init.lua @@ -23,7 +23,7 @@ vim.o.mouse = 'a' -- Sync clipboard between OS and Neovim. -- Remove this option if you want your OS clipboard to remain independent. -- See `:help 'clipboard'` -vim.o.clipboard = 'unnamedplus' +-- vim.o.clipboard = 'unnamedplus' -- Enable break indent vim.o.breakindent = true @@ -95,7 +95,12 @@ vim.opt.rtp:prepend(lazypath) -- as they will be available in your neovim runtime. require('lazy').setup({ -- NOTE: First, some plugins that don't require any configuration - 'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically + { + 'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically + config = function() + require('guess-indent').setup {} + end, + }, -- Git related plugins 'tpope/vim-fugitive',