dotfiles/dot_config/nvim/plugins.vim

74 lines
2.5 KiB
VimL
Raw Permalink Normal View History

2024-07-13 13:41:00 +03:00
let g:coc_global_extensions = ['coc-html', 'coc-emmet', 'coc-clangd',
\ 'coc-tsserver', 'coc-sh', 'coc-pyright', 'coc-json',
\ 'coc-css', 'coc-calc' ]
let g:coc_filetype_map = {
\ 'yaml.ansible': 'ansible',
\ }
let g:plugins_dir='~/.local/share/nvim/plugged'
" INFO: change to 1 for portable mode on Windows
if 0
" WARN: node should be installed here
let $PATH.=';'.fnameescape(g:initvim_folder.'/node')
" FIXME: not sure if that's a good idea...
let $LOCALAPPDATA=fnameescape(g:initvim_folder."/localdata")
let $HOMEPATH=$LOCALAPPDATA
let $USERPROFILE=$HOMEPATH
" WARN: you should create localdata/{coc,plugged} yourself :)
let g:coc_data_home=fnameescape(g:initvim_folder.'/localdata/coc')
let g:coc_config_home=fnameescape(g:initvim_folder.'/localdata/coc')
let g:plugins_dir=fnameescape(g:initvim_folder.'/localdata/plugged')
endif
let g:instant_username = "kc"
exec 'source '.fnameescape(g:initvim_folder."/plug.vim")
call plug#begin(g:plugins_dir)
Plug 'jbyuki/venn.nvim'
Plug 'wakatime/vim-wakatime'
Plug 'andweeb/presence.nvim'
Plug 'sheerun/vim-polyglot'
Plug 'preservim/nerdtree'
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'mhinz/vim-startify'
Plug 'voldikss/vim-floaterm'
Plug 'norcalli/nvim-colorizer.lua'
Plug 'lewis6991/gitsigns.nvim'
Plug 'folke/todo-comments.nvim'
Plug 'chentoast/marks.nvim'
Plug 'lewis6991/spellsitter.nvim'
Plug 'preservim/nerdcommenter'
"Plug 'rubixninja314/vim-mcfunction'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' }
"Plug 'https://git.sr.ht/~sircmpwn/hare.vim/'
Plug 'https://github.com/vftdan/vim-termescape'
Plug 'jbyuki/instant.nvim'
Plug 'kylechui/nvim-surround'
Plug 'windwp/nvim-autopairs'
Plug 'theRealCarneiro/hyprland-vim-syntax'
"Plug 'dbeniamine/cheat.sh-vim'
"Plug 'feline-nvim/feline.nvim'
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
call plug#end()
autocmd CursorHold * silent call CocActionAsync('highlight')
let g:NERDDefaultAlign = 'left'
"exec 'source '.fnameescape(g:initvim_folder.'/autoload/AnsiEsc.vim')
nmap <Leader>rn <Plug>(coc-rename)
lua require('colorizer').setup()
lua require('todo-comments').setup({ signs = false })
lua require('marks').setup({})
lua require('gitsigns').setup()
lua require('spellsitter').setup({ enable = true })
lua require('nvim-surround').setup()
lua require("nvim-autopairs").setup {}
lua require('presence').setup({ buttons=false })
lua require("catppuccin").setup({ transparent_background=true, flavour="macchiato" })
"lua require("feline").setup({})