1
0
Fork 0

fix options, misc work

This commit is contained in:
Luca Bilke 2022-09-30 13:10:06 +02:00
parent 6340bb5c06
commit 46586bba77
3 changed files with 22 additions and 10 deletions

View file

@ -1 +1,2 @@
vim.g.mapleader = "space"

View file

@ -1,10 +1,12 @@
vim.opt.undodir = vim.fn.stdpath "cache" .. "/undo"
vim.opt.undofile = true
vim.opt.titlestring = " %t"
vim.opt.termguicolors = true
vim.opt.timeoutlen = 500
vim.opt.foldmethod = "expr"
vim.opt.foldlevelstart = 99
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
local opt = vim.opt
vim.g.tokyonight_style = "night"
opt.undodir = vim.fn.stdpath "cache" .. "/undo"
opt.undofile = true
opt.titlestring = " %t"
opt.termguicolors = true
opt.timeoutlen = 500
opt.foldmethod = "expr"
opt.foldlevelstart = 99
opt.foldexpr = "nvim_treesitter#foldexpr()"
return opt

View file

@ -22,7 +22,16 @@ return require('packer').startup(function(use)
use 'folke/lua-dev.nvim'
use 'tpope/vim-surround'
use 'tpope/vim-repeat'
use 'folke/tokyonight.nvim'
use { 'folke/tokyonight.nvim',
config = function()
require("tokyonight").setup({
transparent = true, -- Enable this to disable setting the background color
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
dim_inactive = true, -- dims inactive windows
lualine_bold = true, -- When `true`, section headers in the lualine theme will be bold
})
end,
}
use 'vimwiki/vimwiki'
use { 'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate'