summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
blob: 36e38cfaffbcc7398563708b505336f7a98028d4 (plain)
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
if has('filetype')
    filetype indent plugin on
endif

if has('syntax')
    syntax on
endif

if has('mouse')
    set mouse=a
endif

if has('persistent_undo')
    set undodir=$HOME/.vim/undo
    set undofile
endif

lua require 'init'
lua require 'after'

let g:ascii = [
            \ '',
            \ '   @@@@@@   @@@@@@@    @@@@@@   @@@@@@@@@@    @@@@@@   @@@  @@@  @@@  ',
            \ '  @@@@@@@@  @@@@@@@@  @@@@@@@@  @@@@@@@@@@@  @@@@@@@   @@@  @@@  @@@  ',
            \ '  @@!  @@@  @@!  @@@  @@!  @@@  @@! @@! @@!  !@@       @@!  !@@  @@!  ',
            \ '  !@!  @!@  !@!  @!@  !@!  @!@  !@! !@! !@!  !@!       !@!  @!!  !@!  ',
            \ '  @!@!@!@!  @!@  !@!  @!@!@!@!  @!! !!@ @!@  !!@@!!    @!@@!@!   !!@  ',
            \ '  !!!@!!!!  !@!  !!!  !!!@!!!!  !@!   ! !@!   !!@!!!   !!@!!!    !!!  ',
            \ '  !!:  !!!  !!:  !!!  !!:  !!!  !!:     !!:       !:!  !!: :!!   !!:  ',
            \ '  :!:  !:!  :!:  !:!  :!:  !:!  :!:     :!:      !:!   :!:  !:!  :!:  ',
            \ '  ::   :::   :::: ::  ::   :::  :::     ::   :::: ::    ::  :::   ::  ',
            \ '   :   : :  :: :  :    :   : :   :      :    :: : :     :   :::  :    ',
            \ '',
            \ '',
            \] 
let g:startify_custom_header = startify#pad(g:ascii)

autocmd FileType markdown lua require('cmp').setup.buffer { enabled = false }