Nvim init clean up
This commit is contained in:
@@ -16,9 +16,12 @@ vim.opt.rtp:prepend(lazypath)
|
|||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
-- Config
|
-- Config
|
||||||
defaults = {
|
defaults = {
|
||||||
lazy = true
|
lazy = true,
|
||||||
|
},
|
||||||
|
rocks = {
|
||||||
|
-- Currently no plugin requires luarocks
|
||||||
|
enabled = false,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Packages
|
-- Packages
|
||||||
"asolkar/vim-color-molokini",
|
"asolkar/vim-color-molokini",
|
||||||
"navarasu/onedark.nvim",
|
"navarasu/onedark.nvim",
|
||||||
@@ -95,7 +98,7 @@ require("copilot").setup({
|
|||||||
-- Treesitter
|
-- Treesitter
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
-- A list of parser names, or "all" (the listed parsers MUST always be installed)
|
-- A list of parser names, or "all" (the listed parsers MUST always be installed)
|
||||||
ensure_installed = { "comment", "perl", "ruby", "verilog", "verilog", "rust" },
|
ensure_installed = { "comment", "perl", "ruby", "verilog", "rust" },
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
@@ -220,6 +223,10 @@ if vim.g.neovide then
|
|||||||
vim.g.neovide_scale_factor = 1.0
|
vim.g.neovide_scale_factor = 1.0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- -- Dependencies
|
||||||
|
-- -- * Currently no plugin requires luarocks
|
||||||
|
-- opts.rocks.hererocks = false
|
||||||
|
|
||||||
-- Set highlight on search
|
-- Set highlight on search
|
||||||
vim.o.hlsearch = true
|
vim.o.hlsearch = true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user