call plug#begin(stdpath('data') . '/plugged') Plug 'vim-airline/vim-airline' exe 'source' (stdpath('config') . '/airline.vim') Plug 'neoclide/coc.nvim', {'branch': 'release'} " Plug 'file:///home/michael/Projects/coc-nvim-rs', { 'do': 'cargo build --release' } exe 'source' (stdpath('config') . '/coc.vim') " Plug 'file://'.expand('~/Projects/coc-nvim-rs/') Plug 'preservim/nerdtree' exe 'source' (stdpath('config') . '/nerdtree.vim') Plug 'ctrlpvim/ctrlp.vim' let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""' Plug 'kovisoft/slimv' Plug 'mhinz/vim-startify' Plug 'tomasiser/vim-code-dark' Plug 'jiangmiao/auto-pairs' Plug 'leafOfTree/vim-svelte-plugin' " Language plugins Plug 'vmchale/dhall-vim' Plug 'cespare/vim-toml' Plug 'GutenYe/json5.vim' Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'godlygeek/tabular' Plug 'plasticboy/vim-markdown' Plug 'aurieh/discord.nvim', { 'do': ':UpdateRemotePlugins'} Plug 'wakatime/vim-wakatime' let g:go_fmt_command = 'goimports' let g:vim_markdown_new_list_item_indent = 2 let g:vim_markdown_folding_disabled = 1 let g:vim_markdown_toml_frontmatter = 1 Plug 'editorconfig/editorconfig-vim' " Plug 'dense-analysis/ale' " Plug 'vim-syntastic/syntastic' " Plug 'majutsushi/tagbar' " Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " " Plug 'autozimu/LanguageClient-neovim', { " \ 'branch': 'next', " \ 'do': 'bash install.sh', " \ } " " Plug 'rust-lang/rust.vim' " " Plug 'racer-rust/vim-racer' " " Plug 'idris-hackers/idris-vim' call plug#end() " General config colorscheme codedark set splitright set number set cursorline set hidden set modeline set modelines=5 set tabstop=4 set shiftwidth=4 set expandtab set formatoptions+=t set colorcolumn=80 syntax on filetype on filetype plugin indent on " Binds let mapleader = ";" nnoremap T :vsplitvertical resize 54terminali imap kj imap ;; :wi nmap :TagbarToggle nmap ;; :w " let g:LanguageClient_serverCommands = { " \ 'rust': ['rust-analyzer'], " \ } " nnoremap :call LanguageClient_contextMenu() " function LC_maps() " if has_key(g:LanguageClient_serverCommands, &filetype) " nnoremap K :call LanguageClient#textDocument_hover() " nnoremap gd :call LanguageClient#textDocument_definition() " nnoremap :call LanguageClient#textDocument_rename() " endif " endfunction " autocmd FileType * call LC_maps() " Plugin-related configs