From 1b881c1559cfc27377967ece343e29196a3313f3 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 3 Apr 2025 21:27:18 +0200 Subject: [PATCH] Enable project specific configuration --- group_vars/all/neovim.yml | 3 +++ templates/nvim/lua/options.lua.j2 | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/group_vars/all/neovim.yml b/group_vars/all/neovim.yml index 2e1e9ab..ae2f5d9 100644 --- a/group_vars/all/neovim.yml +++ b/group_vars/all/neovim.yml @@ -42,5 +42,8 @@ neovim_plugins: - url: 'https://github.com/projekt0n/github-nvim-theme.git' name: 'github-colors' version: 'v1.1.2' + - url: 'https://github.com/stevearc/conform.nvim.git' + name: 'conform.nvim' + version: 'v9.0.0' language_servers: [] diff --git a/templates/nvim/lua/options.lua.j2 b/templates/nvim/lua/options.lua.j2 index 36bbe52..656910c 100644 --- a/templates/nvim/lua/options.lua.j2 +++ b/templates/nvim/lua/options.lua.j2 @@ -55,5 +55,9 @@ vim.o.termguicolors = true vim.g.loaded_netrw = 1 vim.g.loaded_netrwPlugin = 1 +-- load project specific configuration files +vim.o.exrc = true +vim.o.secure = true + -- python interpreter vim.g.python3_host_prog = '/usr/bin/python3'