diff --git a/init.lua b/init.lua index 9aff08f..3b343a9 100644 --- a/init.lua +++ b/init.lua @@ -3,4 +3,5 @@ require('lua/plugins') require('lua/settings') require('lua/maps') +require('lua/commands') require('lua/utils') diff --git a/lua/commands.lua b/lua/commands.lua index 5d38a2d..67f3f4f 100644 --- a/lua/commands.lua +++ b/lua/commands.lua @@ -3,3 +3,8 @@ -- autocmd! User GoyoEnter Limelight -- autocmd! User GoyoLeave Limelight! -- command W :execute ':silent w !sudo tee % > /dev/null' | :edit! + +vim.cmd 'autocmd! User GoyoEnter Limelight' +vim.cmd 'autocmd! User GoyoLeave Limelight!' + +vim.cmd 'command W :execute \':silent w !sudo tee % > /dev/null\' | :edit!' diff --git a/lua/plugins.lua b/lua/plugins.lua index 3d62ccc..06644fb 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -12,3 +12,7 @@ paq 'kyazdani42/nvim-web-devicons' paq 'doums/darcula' paq 'junegunn/goyo.vim' paq 'junegunn/limelight.vim' + +-- lsp +paq 'neovim/nvim-lspconfig' +paq 'nvim-lua/completion-nvim' diff --git a/lua/settings.lua b/lua/settings.lua index 12fb2cd..bafc183 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -46,7 +46,7 @@ bufferline.setup() local function ColorDarcula() lualine.options.theme = 'onedark' - limelight_conceal_ctermfg = 'DarkGray' + vim.g.limelight_conceal_ctermfg = 'gray' cmd 'colorscheme darcula' end