My favorite VIM based IDE !!

christianchiarulli 80bda19323 hope config default setup 4 年之前
.github 7e78b14009 Define a form for general issues (#618) 4 年之前
colors a237de4a7c no more underline 4 年之前
ftdetect b6942d5025 auto detect file for zig, and language server for zig (#604) 4 年之前
ftplugin 98c4324084 elixir updates 4 年之前
lua 80bda19323 hope config default setup 4 年之前
utils 0096e0baa9 feat(615): transparent background option (#617) 4 年之前
.gitignore 255b14a371 remove lv config so that user settings actually mean something 4 年之前
LICENSE d3e94f3086 update license 4 年之前
README.md 32d8a38df6 update and simplify readme 4 年之前
init.lua c0e05e3910 inline colorscheme config 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