nvim: lazy-nvim
This commit is contained in:
@@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
withNodeJs = true;
|
||||||
|
withPython3 = true;
|
||||||
|
|
||||||
plugin = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
lazy-nvim
|
lazy-nvim
|
||||||
|
|
||||||
catppuccin-nvim
|
catppuccin-nvim
|
||||||
@@ -14,6 +16,7 @@
|
|||||||
|
|
||||||
extraLuaConfig = ''
|
extraLuaConfig = ''
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
require("plugins")
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
-- Import plugins from lua/plugins
|
-- Import plugins from lua/plugins
|
||||||
|
|||||||
@@ -11,4 +11,3 @@ opt.shiftwidth = 2 -- Size of an indent
|
|||||||
opt.smartindent = true -- Insert indents automatically
|
opt.smartindent = true -- Insert indents automatically
|
||||||
opt.spelllang = { "en" }
|
opt.spelllang = { "en" }
|
||||||
opt.tabstop = 2 -- Number of spaces tabs count for
|
opt.tabstop = 2 -- Number of spaces tabs count for
|
||||||
|
|
||||||
|
|||||||
48
home/programs/neovim/lua/plugins/colorscheme.lua
Normal file
48
home/programs/neovim/lua/plugins/colorscheme.lua
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
lazy = false,
|
||||||
|
name = "catppuccin",
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
vim.cmd.colorscheme("catppuccin")
|
||||||
|
end,
|
||||||
|
opts = {
|
||||||
|
integrations = {
|
||||||
|
nvimtree = true,
|
||||||
|
dashboard = true,
|
||||||
|
which_key = true,
|
||||||
|
cmp = true,
|
||||||
|
markdown = true,
|
||||||
|
leap = true,
|
||||||
|
telescope = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
|
treesitter = true,
|
||||||
|
rainbow_delimiters = true,
|
||||||
|
dropbar = {
|
||||||
|
enabled = false,
|
||||||
|
color_mode = false, -- enable color for kind's texts, not just kind's icons
|
||||||
|
},
|
||||||
|
native_lsp = {
|
||||||
|
enabled = true,
|
||||||
|
virtual_text = {
|
||||||
|
errors = { "italic" },
|
||||||
|
hints = { "italic" },
|
||||||
|
warnings = { "italic" },
|
||||||
|
information = { "italic" },
|
||||||
|
},
|
||||||
|
underlines = {
|
||||||
|
errors = { "underline" },
|
||||||
|
hints = { "underline" },
|
||||||
|
warnings = { "underline" },
|
||||||
|
information = { "underline" },
|
||||||
|
},
|
||||||
|
inlay_hints = {
|
||||||
|
background = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user