forked from dam9000/kickstart-modular.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
70 lines (57 loc) · 2.63 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--[[
=====================================================================
=====================================================================
======== .-----. ========
======== .----------------------. | === | ========
======== |.-""""""""""""""""""-.| |-----| ========
======== || || | === | ========
======== || KICKSTART.NVIM || |-----| ========
======== || || | === | ========
======== || || |-----| ========
======== ||:Tutor || |:::::| ========
======== |'-..................-'| |____o| ========
======== `"")----------------(""` ___________ ========
======== /::::::::::| |::::::::::\ \ no mouse \ ========
======== /:::========| |==hjkl==:::\ \ required \ ========
======== '""""""""""""' '""""""""""""' '""""""""""' ========
======== ========
=====================================================================
=====================================================================
TODO: If you don't know anything about Lua, I recommend taking some time to read through
a guide. One possible example which will only take 10-15 minutes:
- https://learnxinyminutes.com/docs/lua/
After understanding a bit more about Lua, you can use `:help lua-guide` as a
reference for how Neovim integrates Lua.
- :help lua-guide
- (or HTML version): https://neovim.io/doc/user/lua-guide.html
TODO: The very first thing you should do is to run the command `:Tutor` in Neovim.
--]]
-- Set <space> as the leader key
-- See `:help mapleader`
-- WARN: Must happen before plugins are loaded (otherwise wrong leader will be used)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Assign a virtualenv for Neovim so that the `pynvim` package is not required for each virtualenv
-- See `:help provider-python`
vim.g.python3_host_prog = '/Users/enrique.perez/.pyenv/versions/py3.12-nvim/bin/python'
-- Enable Copilot for specific filetypes_list
vim.g.copilot_filetypes = {
markdown = true,
python = true,
yaml = true,
json = true,
toml = true,
lua = true,
sql = true,
}
-- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = true
-- Setting options
require 'options'
-- Setting Keymaps
require 'keymaps'
-- Install `lazy.nvim` plugin manager
require 'lazy-bootstrap'
-- Install and setup plugins
require 'lazy-plugins'
-- vim: ts=2 sts=2 sw=2 et