From b8850e216bfde111cfe3267585b7b1a09c35805b Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 15 May 2025 18:12:49 +0200 Subject: [PATCH] Adding more in the README for MacOS and opting out of swapfiles --- README.md | 7 ++++++- lua/default/set.lua | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd14578..06d35d8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,12 @@ sudo apt install neovim npm ansible ansible-lint ripgrep shellcheck If you are using MacOS it can be done like this (Yes ansible is not in there yet, still working on that) ``` -brew install neovim npm python@3.12 shellcheck +brew install neovim npm python@3.12 shellcheck ansible ansible-lint +``` + +Remember that you need to have the homeberw path exported +``` +export PATH=$PATH:/opt/homebrew/bin ``` How to use the plugins and configuration diff --git a/lua/default/set.lua b/lua/default/set.lua index f1dfe31..e0a73c2 100644 --- a/lua/default/set.lua +++ b/lua/default/set.lua @@ -4,6 +4,7 @@ vim.opt.tabstop = 2 vim.opt.softtabstop = 2 vim.opt.shiftwidth = 2 vim.opt.expandtab = true +vim.opt.swapfile = false vim.opt.smartindent = true