summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/settings.lua10
-rw-r--r--lua/utils.lua3
2 files changed, 8 insertions, 5 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index dbf4ee33..0af91824 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -14,15 +14,15 @@ vim.o.termguicolors=true
vim.o.splitright=true --Vertical splits will automatically be to the right
vim.o.t_Co="256" --Support 256 colors
vim.o.conceallevel=0 --So that I can see `` in markdown files
-vim.o.tabstop=2 --Insert 2 spaces for a tab
-vim.o.shiftwidth=2 --Change the number of space characters inserted for indentation
+vim.bo.tabstop=2 --Insert 2 spaces for a tab
+vim.bo.shiftwidth=2 --Change the number of space characters inserted for indentation
vim.o.smarttab=true --Makes tabbing smarter will realize you have 2 vs 4
-vim.o.expandtab=true --Converts tabs to spaces
-vim.o.smartindent=true --Makes indenting smart
+vim.bo.expandtab=true --Converts tabs to spaces
+vim.bo.smartindent=true --Makes indenting smart
vim.o.autoindent=true --Good auto indent
vim.o.laststatus=2 --Always display the status line
vim.wo.number = true
-vim.o.cursorline=true --Enable highlighting of the current line
+vim.wo.cursorline=true --Enable highlighting of the current line
vim.o.background="dark" --tell vim what the background color looks like
vim.o.showtabline=2 --Always show tabs
vim.o.showmode=false --We don't need to see things like -- INSERT -- anymore
diff --git a/lua/utils.lua b/lua/utils.lua
index b5f1413b..277ca728 100644
--- a/lua/utils.lua
+++ b/lua/utils.lua
@@ -29,3 +29,6 @@ define_augroups(
},
}
)
+
+-- Add this to lightbulb, java makes this annoying tho
+-- autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()