diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-05-01 14:08:52 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-05-01 14:08:52 +0300 |
| commit | 19c2b2e8bb457346b2b39d4e9e0fced85b4ebf5b (patch) | |
| tree | 7bd8e24796e646112552e1d2e44080dfb8af8636 /.config/nvim/lua/rustaceanvim.lua | |
| parent | a070aee731c40dd4aa9a1f09491dc97003188c10 (diff) | |
Deleted a bunch of unneeded files
Diffstat (limited to '.config/nvim/lua/rustaceanvim.lua')
| -rw-r--r-- | .config/nvim/lua/rustaceanvim.lua | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/.config/nvim/lua/rustaceanvim.lua b/.config/nvim/lua/rustaceanvim.lua deleted file mode 100644 index 91b1092..0000000 --- a/.config/nvim/lua/rustaceanvim.lua +++ /dev/null @@ -1,37 +0,0 @@ ----@type RustaceanOpts -vim.g.rustaceanvim = { - ---@type RustaceanToolsOpts - tools = { - float_win_config = { - border = 'rounded', - }, - }, - ---@type RustaceanLspClientOpts - server = { - on_attach = function(_, bufnr) - local keymaps = { - { { 'n', 'i' }, '<M-Enter>', '<cmd>RustLsp codeAction<cr>', { desc = 'Code Action' } }, - } - - for _, keymap in ipairs(keymaps) do - local modes = keymap[1] - local lhs = keymap[2] - local rhs = keymap[3] - local opts = keymap[4] - opts.buffer = bufnr - - vim.keymap.set(modes, lhs, rhs, opts) - end - end, - default_settings = { - ['rust-analyzer'] = { - semanticHighlighting = { - operator = { specialization = { enable = true } }, - punctuation = { enable = true, specialization = { enable = true } }, - }, - }, - }, - }, - ---@type RustaceanDapOpts - dap = {}, -} |
