My favorite VIM based IDE !!

christianchiarulli d6b00cec25 fix losing dashboard command add whichkey binding for lunarconfig 4 年之前
.github 14f4aabb0f Update FUNDING.yml 4 年之前
colors b73ccf803d galaxyline will follow theme colors, still need themes that support these hl groups tho 4 年之前
ftdetect 9f511bcb59 start formatting rules 4 年之前
ftplugin 52b4476509 fix indents with lua 4 年之前
lua d6b00cec25 fix losing dashboard command add whichkey binding for lunarconfig 4 年之前
utils 00bf949fe8 custom whichkey entries 4 年之前
.gitignore 81dc6b918b (typo) ingore .stylua.toml in root of project 4 年之前
LICENSE d3e94f3086 update license 4 年之前
README.md 63e1a79e14 Update README.md 4 年之前
init.lua 0c6771a385 you can now toggle format on and off on the fly! 4 年之前

README.md

LunarVim Demo

Install In One Command!

Make sure you have the newest version of Neovim (0.5).

bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/lunarvim/stable/utils/installer/install.sh)

Installing LSP for your language

Just enter :LspInstall followed by <TAB> to see your options

NOTE I recommend installing lua language support to make work

Configuration file

To activate other plugins and language features use the lv-config.lua file provided in the nvim folder (~/.config/nvim/lv-config.lua)

Example:

-- O is the global options object

-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
-- general
O.auto_complete = true
O.relative_number = false
O.colorscheme = 'spacegray'
O.timeoutlen = 100
O.leader_key = ' '

-- After changing plugin config it is recommended to run :PackerCompile
O.plugin.hop.active = true
O.plugin.colorizer.active = true
O.plugin.trouble.active = true
O.plugin.lazygit.active = true
O.plugin.zen.active = true
O.plugin.markdown_preview.active = true

-- if you don't want all the parsers change this to a table of the ones you want
O.treesitter.ensure_installed = "all"
O.treesitter.ignore_install = {"haskell"}
O.treesitter.highlight.enabled = true

-- lua
O.lang.lua.autoformat = false
O.lang.lua.formatter = 'lua-format'

-- javascript
O.lang.tsserver.formatter = 'prettier'
O.lang.tsserver.linter = nil
O.lang.tsserver.autoformat = true

-- json
O.lang.json.autoformat = true

NOTE After changing a setting it is important to exit LunarVim and run the following:

:PackerInstall

:PackerCompile

Updating LunarVim

In order to update you should be aware of three things Plugins, LunarVim and Neovim

To update plugins:

:PackerUpdate

To update LunarVim:

cd ~/.config/nvim && git pull

Resources

Testimonials

"I have the processing power of a potato with 4 gb of ram and LunarVim runs perfectly."

  • @juanCortelezzi, LunarVim user.
[![Lua](https://img.shields.io/badge/Made%20with%20Lua-blue.svg?style=for-the-badge&logo=lua)]()