[[plugins]] repo = 'Shougo/context_filetype.vim' hook_add = ''' let s:context_filetypes = context_filetype#default_filetypes() call remove(s:context_filetypes, 'markdown') call extend(s:context_filetypes, {'markdown': values(map( \ {'\(\h\w*\)': '\1', 'viml': 'vim'}, \ { key, val -> { \ 'start': '^\s*```\s*' .. key, \ 'end': '^\s*```$', \ 'filetype': val, \ } }))}) let g:context_filetype#filetypes = s:context_filetypes let g:context_filetype#ignore_patterns = { \ 'toml': ['^\s*#\s*'], \ } ''' [[plugins]] repo = 'Shougo/dein.vim' [[plugins]] repo = 'ap/vim-css-color' [[plugins]] repo = 'cocopon/lightline-hybrid.vim' [[plugins]] repo = 'delphinus/vim-auto-cursorline' hook_add = ''' let g:auto_cursorline_wait_ms = 4000 ''' [[plugins]] repo = 'itchyny/lightline.vim' depends = [ 'lightline-gruvbox.vim', 'lightline-hybrid.vim', ] hook_add = ''' let g:lightline = {} let g:lightline.colorscheme = user#colorscheme#lightline() let g:lightline.active = { \ 'right': [ \ ['lsp_errors', 'lsp_warnings', 'lineinfo'], \ ['percent'], \ ['colorscheme', 'fileformat', 'fileencoding', 'filetype'], \ ]} let g:lightline.inactive = { \ 'left': [ \ ['filename', 'modified'], \ ]} let g:lightline.component_function = { \ 'colorscheme': 'user#lightline#colorscheme', \ 'fileformat': 'user#lightline#file_format', \ 'fileencoding': 'user#lightline#file_encoding', \ 'filename': 'user#lightline#filename', \ 'mode': 'user#lightline#mode', \ 'readonly': 'user#lightline#readonly', \ } let g:lightline.component_expand = { \ 'lsp_errors': 'lightline_lsp#errors', \ 'lsp_warnings': 'lightline_lsp#warnings', \ } let g:lightline.component_type = { \ 'lsp_errors': 'error', \ 'lsp_warnings': 'warning', \ } ''' [[plugins]] repo = 'itchyny/vim-highlighturl' [[plugins]] repo = 'itchyny/vim-parenmatch' hook_add = ''' " TODO: send PR to the repository to use instead 'hi def Group' instead of 'hi Group' " autocmd user ColorScheme * hi link ParenMatch MatchParen ''' [[plugins]] repo = 'kana/vim-submode' hook_add = ''' Runtime dein/settings/submode.vim ''' [[plugins]] repo = 'lambdalisue/guise.vim' depends = ['denops.vim'] [[plugins]] repo = 'mattn/vim-lsp-settings' depends = ['vim-lsp'] hook_add = ''' Runtime dein/settings/vim-lsp.vim ''' [[plugins]] repo = 'mattn/vim-molder' [plugins.ftplugin] molder = ''' nnoremap q q nmap (molder-reload) ''' [[plugins]] repo = 'mattn/vim-molder-operations' depends = ['vim-molder'] [[plugins]] repo = 'obcat/vim-sclow' if = '!has("nvim")' hook_add = ''' let g:sclow_hide_full_length = v:true ''' [[plugins]] repo = 'osyo-manga/vim-precious' depends = ['context_filetype.vim'] [[plugins]] repo = 'prabirshrestha/vim-lsp' on_source = ['vim-lsp-settings'] on_ft = [ 'python', 'typescript', 'typescriptreact', 'rust', 'markdown', 'yaml', 'json', 'sh', 'lua' ] hook_add = ''' autocmd user BufNewFile,BufRead \ *.py,*.ts,*.tsx,*.rs,*.md,*.yml,*.yaml,*.json,*.sh,*.lua \ call lsp#enable() ''' [[plugins]] repo = 'rafamadriz/friendly-snippets' [[plugins]] repo = 'roxma/vim-tmux-clipboard' if = '!has("gui_running")' [[plugins]] repo = 'shinchu/lightline-gruvbox.vim' [[plugins]] repo = 'thinca/vim-localrc' hook_add = ''' let g:localrc_filename = '.vimrc.local' ''' [[plugins]] repo = 'tmux-plugins/vim-tmux-focus-events' if = '!has("gui_running") && !has("patch-8.2.2345") && !has("nvim")'