Update nvim config

This commit is contained in:
Tobias Reisinger 2024-02-29 00:42:00 +01:00
parent fa68cf226b
commit 028221ee73
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 21 additions and 20 deletions

View file

@ -4,6 +4,7 @@ return {
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
-- "lua"
"pkl"
})
end,
}

View file

@ -15,7 +15,10 @@ return {
-- end,
-- },
"apple/pkl-neovim",
{
"apple/pkl-neovim",
lazy = false,
},
{
"wakatime/vim-wakatime",

View file

@ -3,21 +3,22 @@
{
home.packages = with pkgs; [
nodejs # needed for lsp
neovim # editor
fzf # fuzzy finder
];
programs.neovim = {
enable = true;
extraLuaConfig = ''
require("set")
require("remap")
require("plugins")
require("utils")
local status, ts_install = pcall(require, "nvim-treesitter.install")
if(status) then
ts_install.compilers = { "${pkgs.gcc}/bin/gcc" }
end
'';
};
# programs.neovim = {
# enable = true;
# extraLuaConfig = ''
#require("set")
#require("remap")
#require("plugins")
#require("utils")
#
#local status, ts_install = pcall(require, "nvim-treesitter.install")
#if(status) then
# ts_install.compilers = { "${pkgs.gcc}/bin/gcc" }
#end
# '';
# };
}