From ed4d5cafd654d9f92c46776c98252e3c6653be13 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 7 Jan 2026 10:20:22 +0100 Subject: neovim: Kommentare zum Setup hinzugefügt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/config/options.lua | 12 ++++++++++++ nvim/lua/plugins/treesitter.lua | 4 ++++ 2 files changed, 16 insertions(+) (limited to 'nvim') diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 853a93c..afd6d11 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -17,6 +17,18 @@ opt.showcmd = false opt.spelllang = { "de", "en" } opt.spell = true +-- Die notwendigen Dateien müssen erst noch geladen werden! +-- TODO: Automatisierenss +--[[ + +mkdir -p "$HOME/.local/share/nvim/site/spell" + +cd "$HOME/.local/share/nvim/site/spell" +wget "https://ftp.nluug.nl/pub/vim/runtime/spell/de.utf-8.spl" +wget "https://ftp.nluug.nl/pub/vim/runtime/spell/de.utf-8.sug" + +]]-- + -- Optionen für ^n-Vervollständigung opt.complete = { ".", "w", "b", "u", "t", "i" } diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 8982a2c..338104a 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua @@ -1,5 +1,9 @@ -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/README.md +-- Stelle sicher, dass die TreeSitter-CLI installiert ist: +-- MacOS: `brew install tree-sitter-cli` +-- FreeBSD: `doas pkg install tree-sitter-cli` + return { { "nvim-treesitter/nvim-treesitter", -- cgit v1.3