feat(nvim): finish fennel rewrite

This commit is contained in:
Fernando Araoz 2025-01-23 23:01:16 -05:00
parent ce64d00f3e
commit 9a9b080f39
2 changed files with 25 additions and 0 deletions

View File

@ -91,6 +91,17 @@
(fn statusline.section_location [] (fn statusline.section_location []
"%2l:%-2v"))}) "%2l:%-2v"))})
(local autopairs {1 :windwp/nvim-autopairs
:config (fn []
((. (require :nvim-autopairs) :setup) {})
(local cmp-autopairs
(require :nvim-autopairs.completion.cmp))
(local cmp (require :cmp))
(cmp.event:on :confirm_done
(cmp-autopairs.on_confirm_done)))
:dependencies [:hrsh7th/nvim-cmp]
:event :InsertEnter})
[ [
blankline blankline
emmet emmet
@ -99,4 +110,5 @@
comments comments
mini mini
"tpope/vim-sleuth" ; Detect tabstop and shiftwidth automatically "tpope/vim-sleuth" ; Detect tabstop and shiftwidth automatically
autopairs
] ]

View File

@ -0,0 +1,13 @@
(local neotree {1 :nvim-neo-tree/neo-tree.nvim
:cmd :Neotree
:dependencies [:nvim-lua/plenary.nvim
:nvim-tree/nvim-web-devicons
:MunifTanjim/nui.nvim]
:keys [{1 "\\"
2 ":Neotree reveal<CR>"
:desc "NeoTree reveal"
:silent true}]
:opts {:filesystem {:window {:mappings {"\\" :close_window}}}}
:version "*"})
[neotree]