nvim-config/init.lua

36 lines
717 B
Lua
Raw Normal View History

-- Set <space> as the leader key
-- See `:help mapleader`
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- [[ Install `lazy.nvim` plugin manager ]]
2023-12-05 09:28:02 +00:00
require 'lazy-bootstrap'
2022-06-24 03:35:53 +00:00
-- [[ Configure plugins ]]
2023-12-05 09:28:02 +00:00
require 'lazy-plugins'
2022-06-24 03:35:53 +00:00
-- [[ Setting options ]]
2023-12-05 09:28:02 +00:00
require 'options'
2022-06-24 03:35:53 +00:00
-- [[ Basic Keymaps ]]
2023-12-05 09:28:02 +00:00
require 'keymaps'
2022-06-24 03:35:53 +00:00
-- [[ Configure Telescope ]]
-- (fuzzy finder)
2023-12-05 09:28:02 +00:00
require 'telescope-setup'
2022-06-24 03:35:53 +00:00
-- [[ Configure Treesitter ]]
-- (syntax parser for highlighting)
2023-12-05 09:28:02 +00:00
require 'treesitter-setup'
2022-06-24 03:35:53 +00:00
2023-05-22 06:46:09 +00:00
-- [[ Configure LSP ]]
-- (Language Server Protocol)
2023-12-05 09:28:02 +00:00
require 'lsp-setup'
2022-06-24 03:35:53 +00:00
2023-05-22 06:46:09 +00:00
-- [[ Configure nvim-cmp ]]
-- (completion)
2023-12-05 09:28:02 +00:00
require 'cmp-setup'
2022-06-24 03:35:53 +00:00
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et