Compare commits

..

2 Commits

  1. 4
      nix-darwin/home.nix
  2. 24
      nvchad/.config/nvim/lua/plugins/init.lua

@ -100,6 +100,7 @@
ghc
haskell-language-server
haskellPackages.cabal-install
haskellPackages.stack
# rust
rustc
@ -215,6 +216,9 @@
# Homebrew
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
# Scripts path
export PATH="$HOME/.scripts:$PATH"
# Nix
if [ -e /etc/profile.d/nix.sh ]; then . /etc/profile.d/nix.sh; fi

@ -113,9 +113,9 @@ local plugins = {
{
"nvim-treesitter/nvim-treesitter",
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
},
-- dependencies = {
-- "JoosepAlviste/nvim-ts-context-commentstring",
-- },
opts = {
ensure_installed = {
"vim",
@ -149,15 +149,15 @@ local plugins = {
-- end,
},
{
"numToStr/Comment.nvim",
dependencies = "JoosepAlviste/nvim-ts-context-commentstring",
config = function()
require("Comment").setup({
pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
})
end,
},
-- {
-- "numToStr/Comment.nvim",
-- dependencies = "JoosepAlviste/nvim-ts-context-commentstring",
-- config = function()
-- require("Comment").setup({
-- pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
-- })
-- end,
-- },
-- To make a plugin not be loaded
-- {

Loading…
Cancel
Save