You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
761 B
Lua
40 lines
761 B
Lua
-- load all plugins
|
|
require "pluginList"
|
|
require "misc-utils"
|
|
|
|
require "top-bufferline"
|
|
require "statusline"
|
|
|
|
-- lsp stuff
|
|
require "nvim-lspconfig"
|
|
|
|
local cmd = vim.cmd
|
|
local g = vim.g
|
|
|
|
g.mapleader = " "
|
|
g.auto_save = 0
|
|
|
|
-- colorscheme related stuff
|
|
cmd "syntax on"
|
|
|
|
local base16 = require "base16"
|
|
base16(base16.themes["onedark"], true)
|
|
|
|
require "highlights"
|
|
|
|
require "mappings"
|
|
require "telescope-nvim"
|
|
require "file-icons"
|
|
|
|
-- 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
|
|
)
|
|
|
|
require "whichkey"
|