Added autocommands to toggle Limelight automatically
This commit is contained in:
@@ -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!'
|
||||
|
@@ -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'
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user