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
|
-- ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
-- ┃ ┏┓╻┏━┓ ╻ ╻╻┏┳┓ ┏━┓┏━╸╺┳╸╺┳╸╻┏┓╻┏━╸┏━┓ ┃
-- ┃ ┃┗┫┣━┫ ┃┏┛┃┃┃┃ ┗━┓┣╸ ┃ ┃ ┃┃┗┫┃╺┓┗━┓ ┃
-- ┃ ╹ ╹┗━┛ ┗┛ ╹╹ ╹ ┗━┛┗━╸ ╹ ╹ ╹╹ ╹┗━┛┗━┛ ┃
-- ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
vim.opt.shell = '/usr/bin/zsh'
vim.opt.path = "**"
vim.cmd('colorscheme n8')
vim.opt.mouse = 'a'
vim.opt.tabstop = 2
vim.opt.softtabstop = 0
vim.opt.expandtab = false
vim.opt.shiftwidth = 2
vim.opt.smartindent = true
vim.opt.list = true;
vim.opt.listchars = { tab= '> ', eol = '¬', trail = '·', nbsp = '•'}
vim.opt.splitright = true
vim.opt.splitbelow = false
vim.opt.laststatus = 2
vim.opt.clipboard = "unnamedplus"
vim.opt.number = true
vim.opt.showcmd = true
vim.opt.wildmenu = true
vim.opt.hlsearch = true
vim.opt.conceallevel = 2
vim.opt.colorcolumn = "80"
vim.cmd('filetype indent on')
vim.opt.completeopt = { "menuone", "menu", "longest", "preview", "noinsert", "noselect" }
vim.opt.spelllang = { "de_ch", "en_us" }
vim.g.netrw_liststyle = 3
vim.g.netrw_banner = false
vim.g.netrw_browser_split = 2
vim.g.netrw_keepdir = true
vim.g.netrw_winsize = 30
vim.cmd('autocmd Filetype netrw setlocal nolist')
vim.g.airline_powerline_fonts = true
vim.cmd("call statusbar#refresh()")
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
return
end
configs.setup({
ensure_installed = "all",
ignore_install = { "" },
highlight = {
enable = true,
disable = { "css" },
},
autopairs = {
enable = true,
},
indent = {
enable = true,
},
})
|