removed ruby stuff

This commit is contained in:
Ralph Azucena 2024-11-13 17:11:16 -08:00
parent 649a3e2e37
commit a312557125
4 changed files with 66 additions and 61 deletions

View file

@ -13,13 +13,14 @@
"flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" },
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
"gitsigns.nvim": { "branch": "main", "commit": "9521fe8be39255b9abc6ec54e352bf04c410f5cf" },
"grug-far.nvim": { "branch": "main", "commit": "26415d3cc2fef99ccefa019cbc3969f404a83e70" },
"grug-far.nvim": { "branch": "main", "commit": "9a2f78219390b47d67795ab09390d7f092e23976" },
"indent-blankline.nvim": { "branch": "master", "commit": "7871a88056f7144defca9c931e311a3134c5d509" },
"lazy.nvim": { "branch": "main", "commit": "7967abe55752aa90532e6bb4bd4663fe27a264cb" },
"lazydev.nvim": { "branch": "main", "commit": "d5800897d9180cea800023f2429bce0a94ed6064" },
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"mini.ai": { "branch": "main", "commit": "a9b992b13d22a8db8df6beac25afa59a10b5584d" },
"mini.icons": { "branch": "main", "commit": "54686be7d58807906cb2c8c2216e0bf9c044f19a" },
@ -32,6 +33,8 @@
"nvim-cmp": { "branch": "main", "commit": "f17d9b4394027ff4442b298398dfcaab97e40c4f" },
"nvim-dap": { "branch": "master", "commit": "6bf4de67dbe90271608e1c81797e5edc79ec6335" },
"nvim-dap-ruby": { "branch": "main", "commit": "4176405d186a93ebec38a6344df124b1689cfcfd" },
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "76d80c3d171224315b61c006502a1e30c213a9ab" },
"nvim-lint": { "branch": "master", "commit": "ad0fe35e80f5cd31a0f19176d7b30e5c3011119d" },
"nvim-lspconfig": { "branch": "master", "commit": "d2d153a179ed59aa7134d7ebdf4d7dcb156efa22" },
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },

View file

@ -13,7 +13,9 @@ require("lazy").setup({
-- import any extras modules here
--
-- added then proceeded to disable
-- { import = "lazyvim.plugins.extras.lang.ruby" },
{ import = "lazyvim.plugins.extras.lang.ruby" },
{ import = "lazyvim.plugins.extras.dap.core" },
{ import = "lazyvim.plugins.extras.test.core" },
--
-- { import = "lazyvim.plugins.extras.lang.typescript" },
-- { import = "lazyvim.plugins.extras.lang.json" },
@ -21,7 +23,6 @@ require("lazy").setup({
-- include copilot
{ import = "lazyvim.plugins.extras.ai.copilot-chat" },
{ import = "lazyvim.plugins.extras.test.core" },
-- import/override with your plugins - should be last since these are my customizations
{ import = "plugins" },
},

View file

@ -4,10 +4,10 @@
local g, opt = vim.g, vim.opt
g.autoformat = false -- disable LazyVim autoformat on save
g.loaded_python3_provider = 0
g.loaded_node_provider = 0
g.loaded_ruby_provider = 0
g.ruby_path = vim.fn.system('rbenv prefix') -- github.com/vim-ruby/vim-ruby/issues/248
-- g.loaded_python3_provider = 0
-- g.loaded_node_provider = 0
-- g.loaded_ruby_provider = 0
-- g.ruby_path = vim.fn.system('rbenv prefix') -- github.com/vim-ruby/vim-ruby/issues/248
-- "set regexpengine" == "opt.regexpengine" in case I forget again
opt.regexpengine = 1 -- sourcing <nvim7-install..>/syntax/ruby.vim from ~18ms to ~9ms

View file

@ -1,12 +1,13 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"ruby",
})
end,
},
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = { ensure_installed = { "ruby" } }
-- -- opts = function(_, opts)
-- -- vim.list_extend(opts.ensure_installed, {
-- -- "ruby",
-- -- })
-- -- end,
-- },
-- seems to be unnecessary??
-- {
-- "williamboman/mason.nvim",
@ -17,50 +18,50 @@ return {
-- })
-- end,
-- },
{
"neovim/nvim-lspconfig",
opts = {
servers = {
ruby_lsp = {
filetypes = { "ruby" },
},
rubocop = {},
},
},
},
{
"mfussenegger/nvim-dap",
dependencies = {
"suketa/nvim-dap-ruby",
config = function()
require("dap-ruby").setup()
end,
},
keys = {
-- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
{ "<leader>te", function() require("dap").repl.toggle() end, desc = "DAP Toggle Term" },
{ "<leader>tn", function() require("dap").continue() end, desc = "DAP Next/Continue" },
{ "<leader>tb", function() require("dap").toggle_breakpoint() end, desc = "DAP Toggle Breakpoint" },
},
},
{
"nvim-neotest/neotest",
dependencies = {
"olimorris/neotest-rspec",
},
opts = {
adapters = {
["neotest-rspec"] = {
-- NOTE: By default neotest-rspec uses the system wide rspec gem instead of the one through bundler
-- rspec_cmd = function()
-- return vim.tbl_flatten({
-- "bundle",
-- "exec",
-- "rspec",
-- })
-- end,
},
},
},
},
-- {
-- "neovim/nvim-lspconfig",
-- opts = {
-- servers = {
-- ruby_lsp = {
-- filetypes = { "ruby" },
-- },
-- rubocop = {},
-- },
-- },
-- },
-- {
-- "mfussenegger/nvim-dap",
-- -- dependencies = {
-- -- "suketa/nvim-dap-ruby",
-- -- config = function()
-- -- require("dap-ruby").setup()
-- -- end,
-- -- },
-- keys = {
-- -- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
-- { "<leader>te", function() require("dap").repl.toggle() end, desc = "DAP Toggle Term" },
-- { "<leader>tn", function() require("dap").continue() end, desc = "DAP Next/Continue" },
-- { "<leader>tb", function() require("dap").toggle_breakpoint() end, desc = "DAP Toggle Breakpoint" },
-- },
-- },
-- {
-- "nvim-neotest/neotest",
-- dependencies = {
-- "olimorris/neotest-rspec",
-- },
-- opts = {
-- adapters = {
-- ["neotest-rspec"] = {
-- -- NOTE: By default neotest-rspec uses the system wide rspec gem instead of the one through bundler
-- -- rspec_cmd = function()
-- -- return vim.tbl_flatten({
-- -- "bundle",
-- -- "exec",
-- -- "rspec",
-- -- })
-- -- end,
-- },
-- },
-- },
-- },
}