-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathinit.lua
47 lines (45 loc) · 856 Bytes
/
init.lua
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
local g = vim.g
vim.loader.enable()
g.mapleader = vim.keycode('<space>')
-- the programming language which i write.
_G.program_ft = {
'c',
'cpp',
'rust',
'zig',
'go',
'lua',
'sh',
'python',
'javascript',
'javascriptreact',
'typescript',
'typescriptreact',
'json',
'cmake',
'html',
'markdown',
'text',
'help',
}
_G.is_mac = vim.uv.os_uname().sysname == 'Darwin'
--disable_distribution_plugins
g.loaded_gzip = 1
g.loaded_tar = 1
g.loaded_tarPlugin = 1
g.loaded_zip = 1
g.loaded_zipPlugin = 1
g.loaded_getscript = 1
g.loaded_getscriptPlugin = 1
g.loaded_vimball = 1
g.loaded_vimballPlugin = 1
g.loaded_matchit = 1
g.loaded_2html_plugin = 1
g.loaded_logiPat = 1
g.loaded_rrhelper = 1
g.loaded_netrwPlugin = 1
g.loaded_matchparen = 1
-- Load Modules
require('core')
require('internal.event')
require('internal.completion')