mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
30 lines
666 B
Lua
30 lines
666 B
Lua
-- load all plugins
|
|
require "pluginList"
|
|
require "misc-utils"
|
|
require "top-bufferline"
|
|
|
|
local g = vim.g
|
|
|
|
g.mapleader = " "
|
|
g.auto_save = 0
|
|
|
|
-- colorscheme related stuff
|
|
|
|
g.nvchad_theme = "onedark"
|
|
local base16 = require "base16"
|
|
base16(base16.themes["onedark"], true)
|
|
|
|
require "highlights"
|
|
require "mappings"
|
|
require "file-icons"
|
|
require "statusline"
|
|
|
|
-- hide line numbers , statusline in specific buffers!
|
|
vim.api.nvim_exec(
|
|
[[
|
|
au BufEnter term://* setlocal nonumber
|
|
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
|
au BufEnter term://* set laststatus=0
|
|
]],
|
|
false
|
|
)
|