minor formatting errors

main
spinach 2 years ago
parent bbc6a91e8f
commit d6a838ed46

@ -28,7 +28,7 @@ vim.cmd([[
]]) ]])
-- defaults to transparent -- defaults to transparent
transparent = true Transparent = true
-- timeouts -- timeouts
vim.opt.ttimeout = true vim.opt.ttimeout = true
@ -69,7 +69,7 @@ lspconfig.clangd.setup{}
lspconfig.lua_ls.setup{ lspconfig.lua_ls.setup{
settings = { settings = {
Lua = { Lua = {
diagnostics = {globals = {'vim'}}, diagnostics = {globals = {'vim', 'opts'}},
}, },
telemetry = { telemetry = {
enable = false, enable = false,

@ -2,7 +2,7 @@ require("transparent")
vim.g.mapleader = " " vim.g.mapleader = " "
vim.keymap.set("n", "<leader>b", ":lua toggleTransparent()<CR>") vim.keymap.set("n", "<leader>b", ":lua ToggleTransparent()<CR>")
-- nvim-tree bindings -- nvim-tree bindings

@ -1,6 +1,6 @@
function toggleTransparent() function ToggleTransparent()
transparent = not transparent Transparent = not Transparent
if transparent then if Transparent then
vim.cmd("hi Normal ctermbg=NONE") vim.cmd("hi Normal ctermbg=NONE")
else else
vim.cmd("set background=dark") vim.cmd("set background=dark")

Loading…
Cancel
Save