Edited nvim

This commit is contained in:
2024-06-05 22:47:26 +02:00
parent c29c755c14
commit fb76c95d1f
2 changed files with 16 additions and 10 deletions

24
roles/nvim/files/init.lua Executable file → Normal file
View File

@@ -19,7 +19,7 @@ vim.opt.rtp:prepend(lazypath)
-- Add Plugins
require("lazy").setup({
-- Stats
{ 'wakatime/vim-wakatime', lazy = false },
{ 'wakatime/vim-wakatime', lazy = false },
-- Theme
{
@@ -27,20 +27,24 @@ require("lazy").setup({
name = "catppuccin.vim",
priority = 1000,
config = function()
vim.cmd.colorscheme("catppuccin")
vim.cmd.colorscheme("catppuccin-macchiato")
end,
},
-- Syntax highlighting support
"elkowar/yuck.vim",
"fladson/vim-kitty",
-- Use "gc" to comment visual regions/lines
{ "numToStr/Comment.nvim", opts = {} },
-- "fladson/vim-kitty",
-- Detect tabstop and shiftwidth automatically
-- "tpope/vim-sleuth",
-- Comment visual regions/lines
"numToStr/Comment.nvim",
-- Add indentation guides even on blank lines ???
-- Autoclose brackets
{ "m4xshen/autoclose.nvim", opts = {} },
{ "windwp/nvim-ts-autotag", opts = {}, lazy = false }, -- Doesn't work?
-- Surround selection
"tpope/vim-surround",
-- Add indentation guides
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
@@ -60,7 +64,7 @@ require("lazy").setup({
},
},
-- LSP (Configuration under "lspconfig")
-- LSP
{
"neovim/nvim-lspconfig",
dependencies = {