🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
Find a file
2021-07-08 00:51:07 -04:00
.github Update FUNDING.yml 2021-07-06 09:32:56 -04:00
colors galaxyline will follow theme colors, still need themes that support these hl groups tho 2021-07-04 15:01:09 -04:00
ftdetect start formatting rules 2021-07-04 22:14:01 -03:00
ftplugin fix indents with lua 2021-07-06 22:23:19 -04:00
lua new comment lazyload event 2021-07-07 22:03:40 -04:00
utils update 2021-07-08 00:51:07 -04:00
.gitignore Add a git-ignored folder for users to store their personal configurations (#761) 2021-07-07 12:37:28 -04:00
init.lua more lazy load be careful 2021-07-07 21:57:36 -04:00
LICENSE update license 2021-03-15 10:47:00 -04:00
README.md Removing merge tags 2021-07-07 09:53:54 +02:00

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

-- Additional Plugins
-- O.user_plugins = {{"windwp/nvim-ts-autotag"}}

-- Autocommands (https://neovim.io/doc/user/autocmd.html)
-- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}}

-- Additional Leader bindings for WhichKey
-- O.user_which_key = {
--   A = {
--     name = "+Custom Leader Keys",
--     a = { "<cmd>echo 'first custom command'<cr>", "Description for a" },
--     b = { "<cmd>echo 'second custom command'<cr>", "Description for b" },
--   },
-- }

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