add nix ftplugin

This commit is contained in:
2026-06-28 15:20:20 +09:00
parent 881b809c32
commit f6fa2f15cc
7 changed files with 117 additions and 20 deletions

View File

@@ -11,6 +11,8 @@ vim.cmd("set cursorline")
vim.cmd("set mouse=a")
vim.cmd("set clipboard+=unnamedplus")
vim.o.exrc = true
vim.g.python3_host_prog = 'python3.13'
vim.api.nvim_set_hl(0, "Normal", { bg = "#040404" })
@@ -26,7 +28,7 @@ vim.diagnostic.config({
vim.api.nvim_create_autocmd({ "BufEnter", "CursorHold", "InsertLeave" }, {
callback = function()
pcall(vim.lsp.codelens.refresh)
pcall(function(bufnr) vim.lsp.codelens.enable(true, { bufnr = bufnr }) end)
end,
})