diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-08-12 09:22:12 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-08-12 09:22:12 +0200 |
| commit | 189d244d36d4ebb2189b698adb21f51cf1c4176a (patch) | |
| tree | 3a6a9847dafabea051997b1a9cbc124a242ec1d3 /nvim/lua/plugins/treesitter.lua | |
| parent | 6e5882a2fd02d30206ab9ca8aa5847b8ea09196c (diff) | |
| download | dotfiles-189d244d36d4ebb2189b698adb21f51cf1c4176a.tar.gz dotfiles-189d244d36d4ebb2189b698adb21f51cf1c4176a.tar.bz2 dotfiles-189d244d36d4ebb2189b698adb21f51cf1c4176a.zip | |
Revert "Normalize line endings"
This reverts commit 6e5882a2fd02d30206ab9ca8aa5847b8ea09196c.
Diffstat (limited to 'nvim/lua/plugins/treesitter.lua')
| -rw-r--r-- | nvim/lua/plugins/treesitter.lua | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 954e05f..faa850a 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/README.md | 1 | -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/README.md |
| 2 | 2 | ||
| 3 | -- Stelle sicher, dass die TreeSitter-CLI installiert ist: | 3 | -- Stelle sicher, dass die TreeSitter-CLI installiert ist: |
| 4 | -- MacOS: `brew install tree-sitter-cli` | 4 | -- MacOS: `brew install tree-sitter-cli` |
| 5 | -- FreeBSD: `doas pkg install tree-sitter-cli` | 5 | -- FreeBSD: `doas pkg install tree-sitter-cli` |
| 6 | 6 | ||
| 7 | return { | 7 | return { |
| 8 | { | 8 | { |
| 9 | "nvim-treesitter/nvim-treesitter", | 9 | "nvim-treesitter/nvim-treesitter", |
| 10 | branch = "main", | 10 | branch = "main", |
| 11 | build = ":TSUpdate", | 11 | build = ":TSUpdate", |
| 12 | lazy = false, | 12 | lazy = false, |
| 13 | opts = {}, | 13 | opts = {}, |
| 14 | config = function(_, opts) | 14 | config = function(_, opts) |
| 15 | local treesitter = require("nvim-treesitter") | 15 | local treesitter = require("nvim-treesitter") |
| 16 | local langs = require("config.treesitter").languages | 16 | local langs = require("config.treesitter").languages |
| 17 | 17 | ||
| 18 | treesitter.setup(opts) | 18 | treesitter.setup(opts) |
| 19 | treesitter.install(langs) | 19 | treesitter.install(langs) |
| 20 | end, | 20 | end, |
| 21 | }, | 21 | }, |
| 22 | } | 22 | } |
