Skip to content

Commit

Permalink
nvim config
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesquembre committed Jul 18, 2024
1 parent 5c5419f commit ecff31f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions dotfiles/neovim/formatter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ require("formatter").setup({
yaml = { pConf },
markdown = { pConf },
typescriptreact = { pConf },
graphql = { pConf },
["markdown.mdx"] = { pConf },

-- terraform = { hclConf },
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/neovim/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require("nvim-treesitter.configs").setup({
-- ensure_installed = 'maintained',
highlight = {
enable = true,
disable = { "nix", "markdown" },
-- disable = { "nix", "markdown" },
},
-- TODO better mappings
incremental_selection = {
Expand Down
13 changes: 8 additions & 5 deletions home-manager/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ in
# if you only want some grammars do
# (pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [ p.python p.java ]))
nvim-treesitter.withAllGrammars
# rainbow-delimiters-nvim
rainbow-delimiters-nvim

# Helpers, needed by other plugins
popup-nvim
Expand Down Expand Up @@ -301,7 +301,7 @@ in

# nterm-nvim
custom-vim-plugs.nterm-nvim
custom-vim-plugs.baleia-nvim
baleia-nvim
# (h.neovim.localVimPlugin (vimPluginsDir + /nterm.nvim))

# Git
Expand Down Expand Up @@ -385,10 +385,13 @@ in

# Clojure
# nvim-paredit
vim-sexp
vim-sexp-mappings-for-regular-people
# vim-sexp
# vim-sexp-mappings-for-regular-people
# nvim-parinfer
pkgs.parinfer-rust
parpar-nvim
nvim-parinfer
nvim-paredit
# pkgs.parinfer-rust
conjure
# vim-clojure-highlight
# # vim-kibit
Expand Down
2 changes: 1 addition & 1 deletion nixos/common-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ in
# sort-directories-first=true
# '';

programs.bash.enableCompletion = true;
programs.bash.completion.enable = true;
programs.fish.enable = true;
programs.fish.vendor.completions.enable = true;

Expand Down

0 comments on commit ecff31f

Please sign in to comment.