Compare commits

..

No commits in common. "435937ddb84b304481521a66ec8db329cf418951" and "4b6a1a9a7c4f3b1ca7e4299a1f338acca3a6fa95" have entirely different histories.

3 changed files with 8 additions and 21 deletions

View File

@ -156,7 +156,6 @@ return {
{ {
name = "lua-latex-symbols", name = "lua-latex-symbols",
option = { cache = true }, option = { cache = true },
max_item_count = 5,
trigger_characters = { "\\" }, trigger_characters = { "\\" },
}, },
{ name = "zsh", max_item_count = 5 }, { name = "zsh", max_item_count = 5 },

View File

@ -324,10 +324,6 @@ return {
if capabilities.semanticTokensProvider and capabilities.semanticTokensProvider.full then if capabilities.semanticTokensProvider and capabilities.semanticTokensProvider.full then
require("hlargs").disable_buf(bufnr) require("hlargs").disable_buf(bufnr)
end end
if capabilities.inlayHintProvider and not vim.lsp.inlay_hint.is_enabled({ bufnr = bufnr }) then
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end
end, end,
}) })
local lspconfig = require("lspconfig") local lspconfig = require("lspconfig")
@ -487,22 +483,15 @@ return {
dap_debug_gui = true, dap_debug_gui = true,
}) })
-- TODO: Make this more general, this will support my own NixOS config and dot file lspconfig.nil_ls.setup({
-- stuff, but not generally usable for other projects. Would be good to use something
-- like `.nvim.lua` for this or whatever else works 🤷.
lspconfig.nixd.setup({
cmd = { "nixd", "--semantic-tokens=false" },
settings = { settings = {
nixd = { ["nil"] = {
nixpkgs = { formatting = { command = { "nixfmt" } },
expr = "import <nixpkgs> { }", nix = {
}, maxMemoryMB = 60000,
formatting = { flake = {
command = { "nixfmt" }, autoArchive = true,
}, autoEvalInputs = true,
options = {
home_manager = {
expr = '(builtins.getFlake ("git+file://" + toString ./.)).homeConfigurations.price.options',
}, },
}, },
}, },

View File

@ -32,7 +32,6 @@ in
packages = packages =
with pkgs; with pkgs;
[ [
nixd
inkscape inkscape
sqlx-cli sqlx-cli
postgresql postgresql