Compare commits

..

2 commits

Author SHA1 Message Date
aa66afe555
remove more none-ls 2024-02-28 09:58:41 -06:00
1956f79f2f
improved notes editor 2024-02-28 09:57:27 -06:00
4 changed files with 17 additions and 11 deletions

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
GIT_DIR="${HOME}/stuff/notes"
notes
notify-send "$(git -C $GIT_DIR commit -m ":memo:" -- notes)"

View file

@ -3,7 +3,7 @@ $mainMod = SUPER
# Program binds # Program binds
bind = $mainMod SHIFT, RETURN, exec, wezterm bind = $mainMod SHIFT, RETURN, exec, wezterm
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes-commit
bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, L, exec, lock bind = $mainMod SHIFT, L, exec, lock

View file

@ -15,7 +15,7 @@ require("lazy").setup({
{ import = "lazyvim.plugins.extras.lang.tex" }, { import = "lazyvim.plugins.extras.lang.tex" },
{ import = "lazyvim.plugins.extras.lang.docker" }, { import = "lazyvim.plugins.extras.lang.docker" },
-- { import = "lazyvim.plugins.extras.lang.markdown" }, -- { import = "lazyvim.plugins.extras.lang.markdown" },
{ import = "lazyvim.plugins.extras.lsp.none-ls" }, -- { import = "lazyvim.plugins.extras.lsp.none-ls" },
{ import = "plugins" }, { import = "plugins" },
{ import = "plugins.language" }, { import = "plugins.language" },
}, },

View file

@ -1,12 +1,12 @@
return { return {
require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }), require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }),
{ -- {
"nvimtools/none-ls.nvim", -- "nvimtools/none-ls.nvim",
opts = function(_, opts) -- opts = function(_, opts)
local nls = require("null-ls") -- local nls = require("null-ls")
opts.sources = vim.list_extend(opts.sources or {}, { -- opts.sources = vim.list_extend(opts.sources or {}, {
nls.builtins.formatting["stylua"], -- nls.builtins.formatting["stylua"],
}) -- })
end, -- end,
}, -- },
} }