feat(nvf): add formatter and filetree to nvf configuration

This commit is contained in:
Mohammad Rafiq 2025-03-01 05:13:43 +08:00
parent 8139070d69
commit 169a8785ee

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: {pkgs, ...}: {
{
config.vim = { config.vim = {
# TODO: Install catppuccin
theme.enable = true; theme.enable = true;
options = { options = {
@ -24,6 +23,16 @@
autopairs.nvim-autopairs.enable = true; autopairs.nvim-autopairs.enable = true;
binds.whichKey.enable = true; binds.whichKey.enable = true;
comments.comment-nvim.enable = true; comments.comment-nvim.enable = true;
formatter.conform-nvim.enable = true;
# Filetree
filetree.nvimTree = {
enable = true;
# TODO:
# - open on right pane instead
# - keybind to open and close
# - allow me to move files around with vim bindings
};
# Languages # Languages
languages = { languages = {