4 tab
This commit is contained in:
@@ -7,7 +7,7 @@ font-thicken = true
|
|||||||
cursor-style = bar
|
cursor-style = bar
|
||||||
cursor-style-blink = false
|
cursor-style-blink = false
|
||||||
|
|
||||||
background-opacity = 0.85
|
background-opacity = 0.9
|
||||||
background-blur-radius = 8
|
background-blur-radius = 8
|
||||||
|
|
||||||
mouse-hide-while-typing = true
|
mouse-hide-while-typing = true
|
||||||
|
|||||||
@@ -136,10 +136,10 @@ return {
|
|||||||
-- word under your cursor when your cursor rests there for a little while.
|
-- word under your cursor when your cursor rests there for a little while.
|
||||||
local client = vim.lsp.get_client_by_id(event.data.client_id)
|
local client = vim.lsp.get_client_by_id(event.data.client_id)
|
||||||
if client and client.server_capabilities.documentHighlightProvider then
|
if client and client.server_capabilities.documentHighlightProvider then
|
||||||
vim.api.nvim_create_autocmd({
|
vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, {
|
||||||
buffer = event.buf,
|
buffer = event.buf,
|
||||||
callback = vim.lsp.buf.document_highlight,
|
callback = vim.lsp.buf.document_highlight,
|
||||||
}, { "CursorHold", "CursorHoldI" })
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI" }, {
|
vim.api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI" }, {
|
||||||
buffer = event.buf,
|
buffer = event.buf,
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
|
|
||||||
-- Use 4 space tabs
|
opt.tabstop = 4
|
||||||
-- TODO: Change this back when no company work
|
opt.softtabstop = 4
|
||||||
opt.tabstop = 2
|
opt.shiftwidth = 4
|
||||||
opt.softtabstop = 2
|
|
||||||
opt.shiftwidth = 2
|
|
||||||
|
|
||||||
opt.number = true
|
opt.number = true
|
||||||
opt.relativenumber = true
|
opt.relativenumber = true
|
||||||
|
|||||||
Reference in New Issue
Block a user