-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
60 lines (44 loc) · 1.8 KB
/
init.lua
File metadata and controls
60 lines (44 loc) · 1.8 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
-- enable numbers
vim.cmd.set("number")
-- when spliting windows, split to the right pane.
vim.cmd.set("splitright")
-- remove background color to it keeps terminal settings
vim.cmd.highlight("Normal ctermbg=NONE guibg=NONE")
vim.cmd.highlight("NonText ctermbg=NONE guibg=NONE")
vim.cmd.highlight("LineNr ctermbg=NONE guibg=NONE")
vim.opt.tabstop = 2 -- Number of spaces a tab counts for
vim.opt.shiftwidth = 2 -- Number of spaces for auto-indent
vim.opt.expandtab = true -- Use spaces instead of tabs
-- Make sure to setup `mapleader` and `maplocalleader` before
-- loading lazy.nvim so that mappings are correct.
-- This is also a good place to setup other settings (vim.opt)
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
-- lazy.vim installation and configuration
require("config.lazy")
---- render-markdown.nvim(https://github.com/MeanderingProgrammer/render-markdown.nvim) plugin
require("config.rendermarkdown")
-- code companion(https://github.com/olimorris/codecompanion.nvim) plugin configuration
require("config.codecompanion")
-- nvim-treesitter(https://github.com/nvim-treesitter/nvim-treesitter) plugin configuration
require("config.treesitter")
-- https://github.com/neovim/nvim-lspconfig
-- https://neovim.io/doc/user/lsp.html
require("config.lsp")
-- https://github.com/mason-org/mason.nvim
require("config.mason")
-- https://github.com/stevearc/conform.nvim
require("config.conform")
-- lualine plugin (https://github.com/nvim-lualine/lualine.nvim) configuration.
require("config.lualine")
-- colorschemes plugins
--
-- https://github.com/rebelot/kanagawa.nvim
require("colorschemes.kanagawa")
-- https://github.com/EdenEast/nightfox.nvim
require("colorschemes.nightfox")
-- keymap settings
require("config.keymaps")
-- set color scheme theme
--vim.cmd.colorscheme("nightfox")
vim.cmd.colorscheme("kanagawa")