Update nvim config
This commit is contained in:
parent
fa68cf226b
commit
028221ee73
4 changed files with 21 additions and 20 deletions
|
@ -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