-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
67 lines (57 loc) · 2.04 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
" Excellent HTML formatted copy of the VIm documentation at
" https://vimhelp.org
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Use the XDG setup (to keep the home directory as clean as possible)
" https://wiki.archlinux.org/title/Vim#Workaround_for_XDG_Base_Directory_specification
"
" Because I've got my vim setup in a different repository, I need to make some
" modifications. Anything that would go under $XDG_CONFIG_HOME would have to
" go under $HOME/projects/dotvim instead.
"
" Put the required settings here, and the remainder in the xdg-settings.vim
" file in the settings/plugin directory.
set runtimepath^=$XDG_DOTVIM/.vim
set packpath^=$XDG_DOTVIM/.vim
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Use coc for lsp functions, not ale. This needs to be disabled before ALE is
" loaded, so we're doing it here.
let g:ale_disable_lsp = 1
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
filetype plugin indent on
syntax on
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Install these extensions if they aren't already.
" This list has to exist before coc is loaded.
" This is a hack to get coc to install the extensions. It's not documented
" anywhere, but it works. The extensions are installed asynchronously, so
" it's not a big deal if they aren't installed immediately.
" Run bin/update-coc-extensions to make sure this is setup correctly.
" This list has to exist before coc is loaded.
let g:coc_global_extensions = [
\ 'coc-diagnostic',
\ 'coc-docker',
\ 'coc-git',
\ 'coc-json',
\ 'coc-pyright',
\ 'coc-sh',
\ 'coc-toml',
\ 'coc-vimlsp',
\ '@yaegassy/coc-ansible',
\]
" @yaegassy/coc-ansible
" coc-coverage
" coc-db
" coc-dictd
" coc-lists
" coc-markdownlint
" coc-pairs
" coc-prettier
" coc-pydocstring
" coc-smartf
" coc-sql
" coc-tasks
" coc-terminal
" coc-toml
" coc-yaml
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"colorscheme norwaytoday