updated neovim state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2025-03-09 18:43:51 +01:00
parent de86e51df9
commit 3a431122f6

View File

@ -9,10 +9,10 @@ vim.cmd.syntax('on')
{%- endif %}
{% macro cfg(command, settings) -%}
{% if command == "globals" %}{% set t = "g" %}{% end %}
{% if command == "options" %}{% set t = "o" %}{% end %}
{% if command == "globals" %}{% set t = "g" %}{% endif %}
{% if command == "options" %}{% set t = "o" %}{% endif %}
{% for k, v in settings.items() %}
vim.{{ t }}["{{ v.name }}"]{% if v.value is defined %}={% if v.value.integer() or v.value.boolean() %}{{ v.value }}{% else %}"{{ v.value }}"{% endif %}
vim.{{ t }}["{{ k }}"]{% if v is defined %}={% if v is integer or v is boolean %}{{ v }}{% else %}"{{ v }}"{% endif %}{% endif %}
{%- endfor %}
{% endmacro -%}
@ -22,11 +22,10 @@ vim.{{ t }}["{{ v.name }}"]{% if v.value is defined %}={% if v.value.integer() o
-- NeoVIM options
{{- cfg("options", neovim.config.options) }}
{% if "nvim-tree" in neovim.plugins.keys %}
{% if "nvim-tree" in neovim.plugins.keys() %}
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- optionally enable 24-bit colour
vim.opt.termguicolors = true
require("nvim-tree").setup({