added html plugins and core options file

This commit is contained in:
Nicolai Van der Storm 2023-10-18 10:16:15 +02:00
parent d5ec01da3f
commit 5c63bbe2d6
Signed by: NicolaiVdS
GPG Key ID: CA53B34914EFD59B
5 changed files with 37 additions and 5 deletions

View File

@ -0,0 +1,9 @@
local status, color = pcall(vim.cmd.colorscheme, "catppuccin")
if not status then
print(color, 'using murphy instead')
vim.cmd.colorscheme("murphy")
end
vim.opt.fillchars:append { eob = " "}
vim.cmd.set("noshowmode")
vim.cmd.set("noruler")

View File

@ -42,10 +42,25 @@
config = toLuaFile ./plugins/indent.lua;
}
{
plugin = nvim-ts-autotag;
config = toLuaFile ./plugins/autotag.lua;
}
{
plugin = nvim-colorizer-lua;
config = toLuaFile ./plugins/colorizer.lua;
}
];
extraLuaConfig = ''
vim.cmd("runtime! core/*.lua")
'';
extraPackages = with pkgs; [
lua-language-server
nodePackages_latest.vscode-langservers-extracted
nixd
];
};
}

View File

@ -0,0 +1,11 @@
local status, plugin = pcall(require, 'nvim-ts-autotag')
if not status then
print('Error with plugin: ', plugin)
return
end
plugin.setup({
autotag = {
enable = true,
}
})

View File

@ -49,7 +49,4 @@ plugin.setup({
},
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
},
})
-- setup must be called before loading
vim.cmd.colorscheme "catppuccin"
})

View File

@ -1,4 +1,4 @@
local status, plugin = pcall(require,'indent_blankline')
local status, plugin = pcall(require,'ibl')
if not status then
print('Error with plugin: ', plugin)
return