This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

nvim: remove legacy null-ls nix fmt integration

+5 -33
+5 -33
tools/nvim.nix
··· 40 40 extraPlugins = [ 41 41 pkgs.vimPlugins.vim-fetch 42 42 ]; 43 - extraConfigLua = '' 44 - local null_ls = require("null-ls") 45 - local helpers = require("null-ls.helpers") 46 - local utils = require("null-ls.utils") 47 - 48 - local treefmt_nix = { 49 - method = null_ls.methods.FORMATTING, 50 - filetypes = {}, 51 - generator = helpers.formatter_factory({ 52 - command = "treefmt", 53 - args = { "--allow-missing-formatter", "--stdin", "$FILENAME" }, 54 - to_stdin = true, 55 - runtime_condition = function() 56 - return utils.is_executable("treefmt") 57 - end, 58 - }), 59 - } 60 - 61 - local treefmt_nix2 = { 62 - method = null_ls.methods.FORMATTING, 63 - filetypes = {}, 64 - generator = helpers.formatter_factory({ 65 - command = "treefmt-nix", 66 - args = { "--allow-missing-formatter", "--stdin", "$FILENAME" }, 67 - to_stdin = true, 68 - runtime_condition = function() 69 - return utils.is_executable("treefmt-nix") 70 - end, 71 - }), 72 - } 73 - 74 - null_ls.register(treefmt_nix) 75 - ''; 43 + # not ready yet, we are waiting for none-ls to get updated 44 + # extraConfigLua = '' 45 + # local null_ls = require("null-ls") 46 + # null_ls.register(null_ls.builtins.formatting.nix_flake_fmt) 47 + # ''; 76 48 keymaps = [ 77 49 { 78 50 mode = "i";