~toastal/nvim-tree-sitter-unicode-conceal
Showing details for patch eef18cfe8e771f651898563492bb7fcf10c3d23c.
diff -rN -u old-nvim-tree-sitter-unicode-conceal/flake.nix new-nvim-tree-sitter-unicode-conceal/flake.nix --- old-nvim-tree-sitter-unicode-conceal/flake.nix 2024-11-24 19:50:50.536409751 +0000 +++ new-nvim-tree-sitter-unicode-conceal/flake.nix 2024-11-24 19:50:50.536409751 +0000 @@ -119,61 +119,62 @@ self.packages."${system}"."${name}" ]; }; - customRC = '' - syntax off - set tabstop=4 - set shiftwidth=4 - set conceallevel=2 - let mapleader=' ' - let maplocalleader='-' - highlight Normal gui=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE ctermfg=NONE ctermbg=NONE + customRC = # vim + '' + syntax off + set tabstop=4 + set shiftwidth=4 + set conceallevel=2 + let mapleader=' ' + let maplocalleader='-' + highlight Normal gui=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE ctermfg=NONE ctermbg=NONE - autocmd BufNewFile,BufRead *.ncl setfiletype nickel - autocmd BufNewFile,BufRead *.nix setfiletype nix + autocmd BufNewFile,BufRead *.ncl setfiletype nickel + autocmd BufNewFile,BufRead *.nix setfiletype nix - lua <<EOF - require('nvim-treesitter.configs').setup({ - highlight = { - enable = true, - }, - }) - require("lsp_lines").setup() - require("trouble").setup({ - height = 9, - fold_open = "▶", - fold_close = "▼", - padding = false, - auto_close = true, - signs = { - error = "☠", - warning = "‼", - hint = "✽", - information = "ℹ", - other = "⁇", - }, - use_diagnostic_signs = true, - }) + lua <<EOF + require('nvim-treesitter.configs').setup({ + highlight = { + enable = true, + }, + }) + require("lsp_lines").setup() + require("trouble").setup({ + height = 9, + fold_open = "▶", + fold_close = "▼", + padding = false, + auto_close = true, + signs = { + error = "☠", + warning = "‼", + hint = "✽", + information = "ℹ", + other = "⁇", + }, + use_diagnostic_signs = true, + }) - vim.keymap.set("n", "<leader>xx", "<cmd>TroubleToggle<cr>", - {silent = true, noremap = true} - ) - vim.keymap.set("n", "<leader>xw", "<cmd>TroubleToggle workspace_diagnostics<cr>", - {silent = true, noremap = true} - ) - vim.keymap.set("n", "<leader>xd", "<cmd>TroubleToggle document_diagnostics<cr>", - {silent = true, noremap = true} - ) - vim.keymap.set("n", "<leader>xl", "<cmd>TroubleToggle loclist<cr>", - {silent = true, noremap = true} - ) - vim.keymap.set("n", "<leader>xq", "<cmd>TroubleToggle quickfix<cr>", - {silent = true, noremap = true} - ) - vim.keymap.set("n", "gR", "<cmd>TroubleToggle lsp_references<cr>", - {silent = true, noremap = true} - ) - EOF - ''; + vim.keymap.set("n", "<leader>xx", "<cmd>TroubleToggle<cr>", + {silent = true, noremap = true} + ) + vim.keymap.set("n", "<leader>xw", "<cmd>TroubleToggle workspace_diagnostics<cr>", + {silent = true, noremap = true} + ) + vim.keymap.set("n", "<leader>xd", "<cmd>TroubleToggle document_diagnostics<cr>", + {silent = true, noremap = true} + ) + vim.keymap.set("n", "<leader>xl", "<cmd>TroubleToggle loclist<cr>", + {silent = true, noremap = true} + ) + vim.keymap.set("n", "<leader>xq", "<cmd>TroubleToggle quickfix<cr>", + {silent = true, noremap = true} + ) + vim.keymap.set("n", "gR", "<cmd>TroubleToggle lsp_references<cr>", + {silent = true, noremap = true} + ) + EOF + ''; }; }; }