From 1eab51606081c4f103d5105ca18ac3df15e727e5 Mon Sep 17 00:00:00 2001
From: "Alexandre Cavalheiro S. Tiago da Silva" <contact@thewizard.link>
Date: Wed, 12 Feb 2025 16:39:00 -0300
Subject: [PATCH] fix(neovim): remove rzls exception for getnixpath

---
 modules/home-manager/programs/neovim/polish.lua | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/modules/home-manager/programs/neovim/polish.lua b/modules/home-manager/programs/neovim/polish.lua
index 6e708ad..092fe7c 100644
--- a/modules/home-manager/programs/neovim/polish.lua
+++ b/modules/home-manager/programs/neovim/polish.lua
@@ -3,7 +3,7 @@
 -- fit in the normal config locations above can go here
 
 -- Set up custom filetypes
-vim.filetype.add({
+vim.filetype.add {
   extension = {
     foo = "fooscript",
   },
@@ -13,7 +13,7 @@ vim.filetype.add({
   pattern = {
     ["~/%.config/foo/.*"] = "fooscript",
   },
-})
+}
 
 --- Define PackageOutput
 --- @enum PackageOutput
@@ -28,9 +28,7 @@ local PACKAGEOUTPUT = {
 --- @return string | nil
 vim.fn.getnixpath = function(packagename, packageoutput)
   ---@enum (key) NixSearchExceptions
-  local exceptions = {
-    rzls = "callPackage ~/.system/modules/home-manager/programs/rzls { }",
-  }
+  local exceptions = {}
 
   return vim.split(
     vim.api.nvim_cmd(
@@ -83,7 +81,7 @@ vim.api.nvim_create_user_command("RunCmdOnMark", function(opts)
   vim.fn.runcmdonmark((opts.args == "v:false" or opts.args == "false") and false or true)
 end, { range = true, nargs = "?" })
 
-local dap = require("dap")
+local dap = require "dap"
 
 -- @type DapAdapter
 dap.adapters.codelldb = {