minor formatting errors
This commit is contained in:
parent
bbc6a91e8f
commit
d6a838ed46
@ -28,7 +28,7 @@ vim.cmd([[
|
||||
]])
|
||||
|
||||
-- defaults to transparent
|
||||
transparent = true
|
||||
Transparent = true
|
||||
|
||||
-- timeouts
|
||||
vim.opt.ttimeout = true
|
||||
@ -69,7 +69,7 @@ lspconfig.clangd.setup{}
|
||||
lspconfig.lua_ls.setup{
|
||||
settings = {
|
||||
Lua = {
|
||||
diagnostics = {globals = {'vim'}},
|
||||
diagnostics = {globals = {'vim', 'opts'}},
|
||||
},
|
||||
telemetry = {
|
||||
enable = false,
|
||||
|
@ -2,7 +2,7 @@ require("transparent")
|
||||
|
||||
vim.g.mapleader = " "
|
||||
|
||||
vim.keymap.set("n", "<leader>b", ":lua toggleTransparent()<CR>")
|
||||
vim.keymap.set("n", "<leader>b", ":lua ToggleTransparent()<CR>")
|
||||
|
||||
-- nvim-tree bindings
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
function toggleTransparent()
|
||||
transparent = not transparent
|
||||
if transparent then
|
||||
function ToggleTransparent()
|
||||
Transparent = not Transparent
|
||||
if Transparent then
|
||||
vim.cmd("hi Normal ctermbg=NONE")
|
||||
else
|
||||
vim.cmd("set background=dark")
|
||||
|
Loading…
x
Reference in New Issue
Block a user