Skip to content

Khachig/Neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is my custom Neovim config written in Fennel.

Fennel?

Fennel is a dialect of Lisp that compiles to Lua.
Lua is the embedded configuration language for Neovim; however, since I really like using Lisp, I decided to go with Fennel instead.

Since it runs on Lua, it's basically a different notation to write the same thing but it helps you avoid some common pitfalls of Lua, such as variable scoping issues, operator precedence ambiguity, lack of builtin nil checks for function arguments, etc..

With all that said, you don't have to touch Fennel if you don't want to. You can simply edit the Lua files after you compile the first time.

Installation

First, you have to have Packer installed for managing plugins. You can find installation instructions from their github page.
Then, you have to install Fennel. You can find the instructions for that here.
Once you have everything, you can clone this repository somewhere into your runtimepath (~/.nvim or ~/.config/nvim etc) and run make.

After that, before launching Neovim, you should run:
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync' -c 'PackerCompile'

About

My Neovim config files written in Fennel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors