mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-11 12:32:27 +01:00
39 lines
830 B
Lua
39 lines
830 B
Lua
local cmd = vim.cmd
|
|
|
|
local o = vim.o
|
|
local wo = vim.wo
|
|
local g = vim.g
|
|
|
|
cmd("syntax on")
|
|
o.tabstop = 4
|
|
o.shiftwidth = 4
|
|
o.expandtab = true
|
|
wo.number = true
|
|
o.guifont = "Iosevka:h12"
|
|
o.mouse = "a"
|
|
o.termguicolors = true
|
|
|
|
g.airline_powerline_fonts = 1
|
|
g.neovide_iso_layout = true
|
|
g.NERDTreeShowHidden = true
|
|
|
|
cmd("colorscheme dracula")
|
|
|
|
-- firenvim config
|
|
local localSettings = {}
|
|
localSettings[".*twitch\\.tv.*"] = {
|
|
takeover = "never"
|
|
}
|
|
|
|
g.firenvim_config = {
|
|
localSettings = localSettings
|
|
}
|
|
|
|
-- Highlight the symbol and its references when holding the cursor.
|
|
cmd("autocmd CursorHold * silent call CocActionAsync('highlight')")
|
|
|
|
cmd("autocmd StdinReadPre * let s:std_in=1")
|
|
cmd("autocmd VimEnter * if argc() == 0 && !exists('s:std_in') && !exists('g:started_by_firenvim') | NERDTree | endif")
|
|
|
|
cmd("filetype plugin on")
|
|
|