diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-08-12 09:19:03 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-08-12 09:19:03 +0200 |
| commit | 6e5882a2fd02d30206ab9ca8aa5847b8ea09196c (patch) | |
| tree | 75d3b91f9005e51b93a37b44f3ad23ce4f48bc35 /nvim/lua/plugins/treesitter.lua | |
| parent | 41c676453cd32fac760ff26e092c9dc81874739f (diff) | |
| download | dotfiles-6e5882a2fd02d30206ab9ca8aa5847b8ea09196c.tar.gz dotfiles-6e5882a2fd02d30206ab9ca8aa5847b8ea09196c.tar.bz2 dotfiles-6e5882a2fd02d30206ab9ca8aa5847b8ea09196c.zip | |
Normalize line endings
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 faa850a..954e05f 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 | } |
