Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.18 KB

README.md

File metadata and controls

72 lines (50 loc) · 2.18 KB

Neovim Lua Config

LSP, Treesitter, sane defaults

Lua

Make sure that the folder nvim exists within your ~/.config directory before proceeding, if not, create it:

mkdir ~/.config/nvim

Clone this repository

This will clone the repository directly into your nvim config folder:

git clone https://github.com/DavidAEriksson/nvim.git ~/.config/nvim

Package manager

The config uses Packer as the package manager. All installed packages can be found in lua/modules/plugins/pack.lua. On clone you need to run :PackerSync to install all dependencies.

Install language servers (LSP)

Additional language servers can be installed through nvim-lsp-installer and invoking LspInstall <server>. In lua/modules/lsp/init.lua servers are dynamically handled through this block of Lua script:

for _, server in ipairs({
    'tsserver',
    'null-ls',
    'omnisharp',
    -- ...
}) do
    require('modules.lsp' .. server).setup(on_attach, capabilities)
end

Showcase

Alpha

Custom welcome screen Screenshot 2023-04-06 at 10 54 40

Telescope

Flat theme Screenshot 2023-04-06 at 10 56 09

Saga

peek_definition example Screenshot 2023-04-06 at 10 56 44

Transparent terminal emulator

In Kitty:

Kitty with background_opacity 0.7 Screenshot 2023-04-06 at 11 00 11