1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Compare commits

..

No commits in common. "b09c8ab2042c5b82a5ec6a9a00d9bf3bc33ecf60" and "31861ac4cac1db3dd53ee473f331c3c17e6d84e7" have entirely different histories.

7 changed files with 5 additions and 22 deletions

View File

@ -18,11 +18,6 @@ keymap("n", "<C-p>", ":Telescope find_files<CR>")
keymap("n", "<C-s>", ":Telescope live_grep<CR>") keymap("n", "<C-s>", ":Telescope live_grep<CR>")
keymap("n", "<C-b>", ":Telescope buffers<CR>") keymap("n", "<C-b>", ":Telescope buffers<CR>")
-- SplitJoin
keymap("n", "gs", ":TSJSplit<CR>", { desc = "Split block" })
keymap("n", "gj", ":TSJJoin<CR>", { desc = "Join blocks" })
keymap("n", "gm", ":TSJToggle<CR>", { desc = "SplitJoin togggle" })
-- Formatting -- Formatting
keymap("n", "<leader>f", vim.lsp.buf.format, { desc = "Format buffer" }) keymap("n", "<leader>f", vim.lsp.buf.format, { desc = "Format buffer" })

View File

@ -24,7 +24,6 @@ return function()
"vue", "vue",
"yaml", "yaml",
}, },
timeout = 5000,
}), }),
null_ls.builtins.formatting.rustfmt, null_ls.builtins.formatting.rustfmt,
null_ls.builtins.formatting.standardrb, null_ls.builtins.formatting.standardrb,

View File

@ -2,14 +2,12 @@ return function()
require("nvim-treesitter.configs").setup({ require("nvim-treesitter.configs").setup({
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },
endwise = { enable = true },
context_commentstring = { enable = true }, context_commentstring = { enable = true },
auto_install = true, auto_install = true,
sync_install = false, sync_install = false,
ensure_installed = { ensure_installed = {
"bash", "bash",
"c", "c",
"comment",
"css", "css",
"dockerfile", "dockerfile",
"eex", "eex",

View File

@ -1,3 +0,0 @@
return function()
require("treesj").setup()
end

View File

@ -7,11 +7,6 @@ return {
"hrsh7th/vim-vsnip", "hrsh7th/vim-vsnip",
"tpope/vim-fugitive", "tpope/vim-fugitive",
"preservim/nerdcommenter", "preservim/nerdcommenter",
{
"Wansmer/treesj",
dependencies = { "nvim-treesitter/nvim-treesitter" },
config = require("config.plugins.treesj"),
},
{ {
"MaximilianLloyd/ascii.nvim", "MaximilianLloyd/ascii.nvim",
dependencies = { dependencies = {

View File

@ -9,7 +9,7 @@ return {
init = function() init = function()
-- PERF: no need to load the plugin, if we only need its queries for mini.ai -- PERF: no need to load the plugin, if we only need its queries for mini.ai
local plugin = local plugin =
require("lazy.core.config").spec.plugins["nvim-treesitter"] require("lazy.core.config").spec.plugins["nvim-treesitter"]
local opts = require("lazy.core.plugin").values(plugin, "opts", false) local opts = require("lazy.core.plugin").values(plugin, "opts", false)
local enabled = false local enabled = false
if opts.textobjects then if opts.textobjects then
@ -28,7 +28,6 @@ return {
end, end,
}, },
"JoosepAlviste/nvim-ts-context-commentstring", "JoosepAlviste/nvim-ts-context-commentstring",
"RRethy/nvim-treesitter-endwise",
}, },
config = require("config.plugins.tree-sitter"), config = require("config.plugins.tree-sitter"),
}, },

View File

@ -1,8 +1,8 @@
ruby 3.2.1 ruby 2.7.4
nodejs 17.3.0 nodejs 17.3.0
python 3.9.12 python 3.9.12
erlang 25.3.2 erlang 23.2.4
elixir 1.14.5-otp-25 elixir 1.11.3
rust 1.69.0 rust 1.56.1
yarn 1.22.10 yarn 1.22.10
crystal 1.2.2 crystal 1.2.2