blob: 2741c99da56a08727cb22bcb161cbad7aa382d64 (
plain) (
blame)
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
|
bo.expandtab = false
bo.shiftwidth = 8
bo.softtabstop = 8
o.completeopt = 'longest,menuone'
o.shell = '/bin/sh'
o.encoding = 'utf-8'
o.scrolloff = 3
o.lazyredraw = true
o.autochdir = true
o.smarttab = true
o.number = true
o.list = true
o.swapfile = false
-- o.foldmethod = 'expr'
-- o.foldexpr = 'nvim_treesitter#foldexpr()'
cmd 'syntax enable'
cmd 'filetype on'
cmd 'filetype plugin on'
cmd 'filetype indent on'
cmd 'colorscheme colorscheme'
vim.cmd([[
au BufNewFile,BufRead *.Dockerfile,Dockerfile.* setlocal filetype=dockerfile
au BufNewFile,BufRead *.j2*,*.jinja* setlocal filetype=django
au BufNewFile,BufRead *.env* setlocal filetype=sh
]])
|