diff --git a/nvim/m-housh/init.lua b/nvim/m-housh/init.lua index f155935..94c6497 100755 --- a/nvim/m-housh/init.lua +++ b/nvim/m-housh/init.lua @@ -2,6 +2,9 @@ vim.g.mapleader = " " vim.g.maplocalleader = " " +-- Common settings +require("user.settings") + -- Auto commands require("user.autocmd") @@ -13,6 +16,3 @@ require("user.keymaps") -- Theme (must stay after plugins are loaded) require("user.theme") - --- Common settings -require("user.settings") diff --git a/nvim/m-housh/lua/user/plugin/todo-comments.lua b/nvim/m-housh/lua/user/plugin/todo-comments.lua index b333c9a..f64812f 100644 --- a/nvim/m-housh/lua/user/plugin/todo-comments.lua +++ b/nvim/m-housh/lua/user/plugin/todo-comments.lua @@ -1,15 +1,20 @@ return { - "folke/todo-comments.nvim", - dependencies = { "nvim-lua/plenary.nvim" }, - opts = { }, - config = function() - require('todo-comments').setup({}) + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = {}, + config = function() + local todos = require("todo-comments") - vim.keymap.set('n', 'tq', 'TodoQuickFix', - { desc = "[T]odo [Q]uick fix list." } - ) - vim.keymap.set('n', 't', 'TodoTelescope', - { desc = "[T]odo [Q]uick fix list." } - ) - end, + todos.setup({}) + + vim.keymap.set("n", "tq", "TodoQuickFix", { desc = "[T]odo [Q]uick fix list." }) + vim.keymap.set("n", "t", "TodoTelescope", { desc = "[T]odo telescope list." }) + vim.keymap.set("n", "tl", "TodoLocList", { desc = "[T]odo [L]ocation list." }) + vim.keymap.set("n", "]t", function() + todos.jump_next() + end, { desc = "Next [T]odo" }) + vim.keymap.set("n", "[t", function() + todos.jump_prev() + end, { desc = "Previous [T]odo" }) + end, } diff --git a/nvim/m-housh/spell/en.utf-8.add b/nvim/m-housh/spell/en.utf-8.add index 42cf876..fe8a2c3 100755 --- a/nvim/m-housh/spell/en.utf-8.add +++ b/nvim/m-housh/spell/en.utf-8.add @@ -10,3 +10,6 @@ Hydronic subpar quo IAQ +wc +HVAC +dehumidification diff --git a/nvim/m-housh/spell/en.utf-8.add.spl b/nvim/m-housh/spell/en.utf-8.add.spl index 3294b3e..104e17c 100755 Binary files a/nvim/m-housh/spell/en.utf-8.add.spl and b/nvim/m-housh/spell/en.utf-8.add.spl differ