mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[init] Moved most config to Lua
This commit is contained in:
parent
d466d95bb7
commit
2e5ee60601
2 changed files with 21 additions and 24 deletions
19
nvim/init.lua
Normal file
19
nvim/init.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
-- Disable airline to use barbar
|
||||
vim.g.loaded_airline = 1
|
||||
|
||||
-- TODO: Refactor to Lua
|
||||
-- This has stopped working...?
|
||||
-- let g:dotfiles_plugin_manager_inhibited_plugins = {
|
||||
-- \ 'vim-airline': 1,
|
||||
-- \ }
|
||||
|
||||
-- Enable the clearly superior mode.
|
||||
vim.g.vim_ide = 1
|
||||
vim.g.dotfiles_build_coc_from_source = 1
|
||||
|
||||
-- Small plugin configs
|
||||
vim.g.dashboard_default_executive ='fzf'
|
||||
|
||||
-- Styling
|
||||
vim.g.termguicolors = 1
|
||||
vim.g.airline_powerline_fonts = 1
|
|
@ -1,27 +1,5 @@
|
|||
let g:k_nvim_dotfiles_dir = expand('<sfile>:p:h')
|
||||
let g:k_dotfiles_dir = expand('<sfile>:p:h:h')
|
||||
let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath
|
||||
|
||||
" Disable airline to use barbar
|
||||
let g:loaded_airline = 1
|
||||
|
||||
" This has stopped working...?
|
||||
" let g:dotfiles_plugin_manager_inhibited_plugins = {
|
||||
" \ 'vim-airline': 1,
|
||||
" \ }
|
||||
|
||||
" Enable the clearly superior mode.
|
||||
let g:vim_ide = 1
|
||||
let g:dotfiles_build_coc_from_source = 1
|
||||
|
||||
" Small plugin configs
|
||||
let g:dashboard_default_executive ='fzf'
|
||||
|
||||
" Source Dima's config
|
||||
let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath.','.g:k_nvim_dotfiles_dir.'/after'
|
||||
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
||||
|
||||
let &runtimepath = &runtimepath.','.g:k_nvim_dotfiles_dir.'/after'
|
||||
|
||||
" Styling
|
||||
set termguicolors
|
||||
let airline_powerline_fonts = 1
|
||||
luafile <sfile>:p:h/init.lua
|
||||
|
|
Loading…
Reference in a new issue