Compare commits

...

3 commits

Author SHA1 Message Date
6d97149d0f just catching up commits 2024-09-18 19:16:28 -07:00
d7ca1f2cc2 treesj being cool and awesome 2024-09-18 19:16:16 -07:00
f66bc2c5ab rust disable underline 2024-08-31 05:15:56 -07:00
6 changed files with 56 additions and 7 deletions

3
after/ftplugin/rust.lua Normal file
View file

@ -0,0 +1,3 @@
-- vim.diagnostic.config({
-- underline = false,
-- })

View file

@ -1,24 +1,29 @@
{
"extras": [
"lazyvim.plugins.extras.coding.mini-surround",
"lazyvim.plugins.extras.dap.core",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.editor.fzf",
"lazyvim.plugins.extras.editor.harpoon2",
"lazyvim.plugins.extras.editor.navic",
"lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.lang.clangd",
"lazyvim.plugins.extras.lang.elixir",
"lazyvim.plugins.extras.lang.git",
"lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.java",
"lazyvim.plugins.extras.lang.json",
"lazyvim.plugins.extras.lang.markdown",
"lazyvim.plugins.extras.lang.nix",
"lazyvim.plugins.extras.lang.omnisharp",
"lazyvim.plugins.extras.lang.python",
"lazyvim.plugins.extras.lang.rust",
"lazyvim.plugins.extras.lang.tailwind",
"lazyvim.plugins.extras.lang.typescript"
"lazyvim.plugins.extras.lang.toml",
"lazyvim.plugins.extras.util.mini-hipatterns"
],
"news": {
"NEWS.md": "6077"
"NEWS.md": "6520"
},
"version": 6
}

7
lua/plugins/luarocks.lua Normal file
View file

@ -0,0 +1,7 @@
return {
-- {
-- "vhyrro/luarocks.nvim",
-- priority = 1000, -- Very high priority is required, luarocks.nvim should run as the first plugin in your config.
-- config = true,
-- },
}

14
lua/plugins/otter.lua Normal file
View file

@ -0,0 +1,14 @@
return {
-- {
-- "jmbuhr/otter.nvim",
-- dependencies = {
-- "hrsh7th/nvim-cmp",
-- "neovim/nvim-lspconfig",
-- "nvim-treesitter/nvim-treesitter",
-- },
-- lazy = false,
-- config = function()
-- require("otter").activate({ "javascript", "python", "rust" }, true, true, nil)
-- end,
-- },
}

View file

@ -6,16 +6,29 @@ return {
default_settings = {
-- rust-analyzer language server configuration
["rust-analyzer"] = {
-- rustfmt = {
-- overrideCommand = {
-- "leptosfmt",
-- "--stdin",
-- "--rustfmt",
-- },
-- },
cargo = {
targetDir = true,
buildScripts = {
enable = false,
},
},
procMacro = {
enable = true,
-- ignored = {
-- ["leptos_macro"] = { "component" },
-- },
},
checkOnSave = true,
-- check = {
-- command = "clippy",
-- },
check = {
command = "clippy",
},
},
},
},

View file

@ -8,6 +8,13 @@ return {
{ "<space>ts", "<cmd>TSJSplit<cr>", desc = "Treesitter Split" },
},
config = function()
require("treesj").setup({ use_default_keymaps = false })
require("treesj").setup({
use_default_keymaps = false,
on_error = function(err_text, level)
if not err_text:find("splitted") then
vim.cmd.join()
end
end,
})
end,
}