Update nvim config
This commit is contained in:
parent
fa68cf226b
commit
028221ee73
4 changed files with 21 additions and 20 deletions
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -15,7 +15,10 @@ return {
|
|||
-- end,
|
||||
-- },
|
||||
|
||||
"apple/pkl-neovim",
|
||||
{
|
||||
"apple/pkl-neovim",
|
||||
lazy = false,
|
||||
},
|
||||
|
||||
{
|
||||
"wakatime/vim-wakatime",
|
||||
|
|
|
@ -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
|
||||
# '';
|
||||
# };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue