fix nvim-lint, other fixes

This commit is contained in:
Maciej Lebiest 2023-02-23 21:49:48 +01:00
parent c84e455173
commit 81c6df2323
6 changed files with 23 additions and 24 deletions

View file

@ -1,7 +1,6 @@
local function open_nvim_tree()
-- open the tree
require("nvim-tree.api").tree.open()
-- open the tree
require("nvim-tree.api").tree.open()
end
-- Functional wrapper for mapping custom keybindings
@ -36,9 +35,11 @@ vim.opt.number = true
vim.opt.clipboard = "unnamedplus" -- synchronize with system clipboard
vim.opt.swapfile = false
vim.opt.cursorline = true
vim.opt.tabstop = 4 -- number of columns occupied by a tab
vim.opt.softtabstop = 4 -- see multiple spaces as tabstops so <BS> does the right thing
vim.opt.expandtab = true -- converts tabs to white space
vim.opt.shiftwidth = 4 -- width for autoindents
vim.cmd [[
highlight clear
colorscheme dracula
TSEnable highlight
]]