-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
72 lines (54 loc) · 1.99 KB
/
Copy pathinit.lua
File metadata and controls
72 lines (54 loc) · 1.99 KB
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
68
69
70
71
72
--[[
NOTE: HELP:
:help
This will open up a help window with some basic information
about reading, navigating and searching the builtin help documentation.
"<space>sh"
to [s]earch the [h]elp documentation,
which is very useful when you're not exactly sure of what you're looking for.
"<space>sk"
to [s]earch for the set [k]eymaps easily.
crash demo of lua
https://learnxinyminutes.com/docs/lua/
:help lua-guide
reference for how neovim integrates lua after you understand some basic lua.
learn lua in depth and how to use it in neovim
https://github.com/mrdandelion6/learn-to-code/blob/main/languages/lua/notes.lua
kickstart.nvim setup guide
https://github.com/mrdandelion6/Learn-to-Code/blob/main/topics/using-vim/neovim.md
intro to vim and vim motions guide
https://github.com/mrdandelion6/Learn-to-Code/blob/main/topics/using-vim/vim.md
:checkhealth
if you experience any errors while trying to install kickstart, run `:checkhealth` for more info.
--]]
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
vim.g.have_nerd_font = true
require('core.lazy').boostrap()
local platform = require 'core.platform'
require 'core.options'
require 'core.clipboard'
require 'core.local_settings'
require 'core.keymaps'
require 'core.cmds'
require 'core.cursor'
require 'core.format'
require 'core.filetype'
local specs = {
{ import = 'plugins.editor' },
{ import = 'plugins.integrations' },
{ import = 'plugins.language_support' },
{ import = 'plugins.nav' },
{ import = 'plugins.ui' },
{ import = 'plugins.workflow' },
}
-- notebook plugins are unstable on windows
if platform.is_linux() then
table.insert(specs, { import = 'plugins.notebooks' })
end
-- import any local plugins not in git if they exist
local local_path = vim.fn.stdpath 'config' .. '/lua/local'
if vim.fn.isdirectory(local_path) == 1 then
table.insert(specs, { import = 'local' })
end
require('lazy').setup(specs, require('core.icons').lazy)