Skip to content

hinell/nvim

Repository files navigation

HINELL / nvim

PayPal

Install

Install prerequisites

As of August, 2023 packer plugin manager is unmaintained.
This config uses lazy.nvim instead to manage & install plugins.
It's auto-bootstrapped if not found. Stand-alone tools must must be installed separately.

Clibpoard

Nvim doesn't provide builtin clipboard support so you have to install clipboard provider. I suggest to use xclip.

Searching

ripgrep - This one is heavily used by [Telescope]

Fonts

Nerd fonts

# Example of a shell script installing nerdfont JetBrainsMono

local FONTNAME="JetBrainsMono"
fc-list -q "${FONTNAME} Nerd Font Mono" || {
    local TEMPDIR=$(mktemp -d)
    git clone --depth 1 --filter=blob:none \
        --sparse git@github.com:ryanoasis/nerd-fonts.git "$TEMPDIR"
    pushd "$TEMPDIR"
    git sparse-checkout add patched-fonts/${FONTNAME}
    fc-list -q %s
    ./install.sh -s -S ${FONTNAME}
    popd
}

LSP Servers

Use williamboman/mason.nvim to install LSP servers & other tools quickly. See lsp-config/server_configurations.md for full list of LSP servers Every LSP serever listed below requries a separate installation of the binary or script. Check out setup.sh executable next to this file.

LSP name Languages Summary
clangd c/c++
luals lua
bashls sh,bash,zsh Basic shell LSP server; quirky when works with zsh
mattn/efm-languageserver * General purpose server; see configs at creativenull/efmls-configs-nvim
tsserver javascript, typescript TypeScript server from Micro$$oft; pretty slow
vscode-langservers-extracted json Requires Node.js installation; checkout nvm manager for *nix platforms
vscode-langservers-extracted css, scss, less Requires Node.js; use npm to install
vscode-langservers-extracted html Requires Node.js; use npm to install
sqlls sql Requires Node.js; use npm to install
yamlls yamlls Requires Node.js; use npm to install

Usage

" ~/.config/nvim/init.vim
lua require("hinell")

DOCUMENTATION

Troubleshooting

Run :checkhealth command to see if something wrong with your installation.

SEE ALSO


February 1, 2023 November 16, 2023

About

Neovim config

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages