From f0f38692eaf7fdf733fc54c0b568c2cd671299ce Mon Sep 17 00:00:00 2001 From: allan Date: Fri, 2 May 2025 10:12:06 +0200 Subject: [PATCH] Added guide --- README.md | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4a6b599..839a644 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,27 @@ -This config requires neovim version 0.10.0 or later, otherwise there will be errors that are anoying to look at +## Neovim install -You need to install ripgrep for grepping when working in files +### Requirements for this configuration to work: +ansible ansible-lint npm neovim ripgrep ------------------------------------------------------------------------------------------------------------ +### Note neovim has to be version 0.10.0 or later. -This is a simple starter config for neovim, there is a few plugins for changing the default colors, a lsp that i still need to figure out, telescope for fuzzy finding, and treesitter for better syntax highliting. +Denpenting on your OS this can be installed on Rhel or Fedora like this +``` +sudo dnf install ansible ansible-lint npm neovim ripgrep +``` +If you are using Ubuntu it can be done like this +``` +sudo apt install ansible ansible-lint npm neovim ripgrep +``` + +How to use the plugins and configuration +``` +git clone https://git.nopants.dk/shell/neovim_config.git ~/.config/nvim +``` + +This is a simple starter config for neovim, there is a few plugins for changing the default colors, a lsp that still needs figuring out, telescope for fuzzy finding, and treesitter for better syntax highliting. + +### Note: +To use the ansiblels LSP, you need either vs code installed or npm installed. May well be that vs code installs and uses npm to install the ansiblels LSP There is also some remaps that I could not image going back to not using, since they make life a lot eaiser and better when it comes to working in files - - -To use the ansiblels LSP, you need either vc code installed or npm installed. I have a sneaking suspicion that vc code installs and uses npm to install the ansiblels LSP \ No newline at end of file