From 86ef65840399bf1b461a5df83e6d15368c43d277 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Thu, 12 Dec 2024 09:05:48 -0300 Subject: [PATCH] feat: add vim-sleuth --- lua/dot013/plugins/ide.lua | 6 ++++++ neovim.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/lua/dot013/plugins/ide.lua b/lua/dot013/plugins/ide.lua index 51f1a59..3f93c9b 100644 --- a/lua/dot013/plugins/ide.lua +++ b/lua/dot013/plugins/ide.lua @@ -188,6 +188,12 @@ return { end, }, + -- Automatic buffer options and .editorconfig support + { + "vim-sleuth", + event = { "BufReadPre", "BufNewFile" }, + }, + -- File explorer { -- (Probably can be replaced by local functions in the config) diff --git a/neovim.nix b/neovim.nix index 96e298c..0ed2110 100644 --- a/neovim.nix +++ b/neovim.nix @@ -50,6 +50,7 @@ telescope-nvim telescope-fzf-native-nvim tmux-nvim + vim-sleuth (vimUtils.buildVimPlugin { pname = "nvim-emmet";