feat: neovim config based on NvChad

This commit is contained in:
2024-11-02 23:21:50 +01:00
parent bddd2cdebf
commit acf7f7ca1f
11 changed files with 478 additions and 0 deletions

11
nvim/lua/options.lua Normal file
View File

@@ -0,0 +1,11 @@
require "nvchad.options"
-- add yours here!
-- local o = vim.o
-- o.cursorlineopt ='both' -- to enable cursorline!
local o = vim.o
-- Enable treesitter folding
o.foldmethod = "expr"
o.foldexpr = "nvim_treesitter#foldexpr()"