ag, and vim stuff
This commit is contained in:
parent
b586214052
commit
8608f855a8
@ -2,17 +2,16 @@ vim.cmd([[autocmd BufWritePost plugins.lua PackerCompile]])
|
|||||||
|
|
||||||
return function(use)
|
return function(use)
|
||||||
-- Prevents reinstall of treesitter plugins every boot
|
-- Prevents reinstall of treesitter plugins every boot
|
||||||
local parser_install_dir = vim.fn.stdpath("cache") .. "/treesitters"
|
-- local parser_install_dir = vim.fn.stdpath("cache") .. "/treesitters"
|
||||||
vim.fn.mkdir(parser_install_dir, "p")
|
-- vim.fn.mkdir(parser_install_dir, "p")
|
||||||
vim.opt.runtimepath:append(parser_install_dir)
|
-- vim.opt.runtimepath:append(parser_install_dir)
|
||||||
|
|
||||||
-- Treesitter is managed by the package config, we just manage configs/deps here
|
-- -- Treesitter is managed by the package config, we just manage configs/deps here
|
||||||
use({ "nvim-treesitter/nvim-treesitter-refactor" })
|
-- use({ "nvim-treesitter/nvim-treesitter-refactor" })
|
||||||
use({ "RRethy/nvim-treesitter-textsubjects" })
|
-- use({ "RRethy/nvim-treesitter-textsubjects" })
|
||||||
|
-- require("nvim-treesitter.configs").setup({
|
||||||
require("nvim-treesitter.configs").setup({
|
-- parser_install_dir = parser_install_dir,
|
||||||
parser_install_dir = parser_install_dir,
|
-- })
|
||||||
})
|
|
||||||
|
|
||||||
use({'atelierbram/vim-colors_atelier-schemes'})
|
use({'atelierbram/vim-colors_atelier-schemes'})
|
||||||
use({'robertmeta/nofrils'})
|
use({'robertmeta/nofrils'})
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
fd
|
fd
|
||||||
ripgrep
|
ripgrep
|
||||||
tree-sitter
|
tree-sitter
|
||||||
|
silver-searcher
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -23,17 +23,17 @@
|
|||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.vimPlugins; [
|
#plugins = with pkgs.vimPlugins; [
|
||||||
# Inject tree-sitters, since they're annoying to maintain with sideloading
|
# # Inject tree-sitters, since they're annoying to maintain with sideloading
|
||||||
(nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
|
# (nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
|
||||||
];
|
#];
|
||||||
# We used to manage our own init.lua but now we want the home-manager
|
# We used to manage our own init.lua but now we want the home-manager
|
||||||
# managed init.vim to load our init.lua which makes this a little dirty.
|
# managed init.vim to load our init.lua which makes this a little dirty.
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
lua << EOF
|
# lua << EOF
|
||||||
${builtins.readFile ../../home/config/nvim/init.lua}
|
# ${builtins.readFile ../../home/config/nvim/init.lua}
|
||||||
EOF
|
# EOF
|
||||||
'';
|
# '';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
Loading…
Reference in New Issue
Block a user