6 files changed,
0 insertions(+),
58 deletions(-)
Author:
Smirnov Alexander
ss2316544@gmail.com
Committed at:
2022-03-26 19:08:59 +0200
Parent:
6dcbe45
D
@@ -1,20 +0,0 @@
--- spacing -vim.opt_local.tabstop = 4 -vim.opt_local.shiftwidth = 4 -vim.opt_local.softtabstop = 4 - --- mappings -require("which-key").register({ - [";"] = { - name = "Coding", - t = { "<cmd>RustToggleInlayHints<cr>", "Toggle type hints" }, - r = { "<cmd>RustRunnables<cr>", "Run" }, - R = { "<cmd>RustReloadWorkspace<cr>", "Reload Workspace" }, - K = { "<cmd>RustMoveItemUp<cr>", "Move up" }, - J = { "<cmd>RustMoveItemDown<cr>", "Move down" }, - }, -}, { - prefix = "<leader>", - mode = "n", - { noremap = true, silent = true }, -})
M
lua/fk/lsp/init.lua
@@ -20,13 +20,6 @@ if ok then
opts = vim.tbl_deep_extend("force", opts, server_opts or {}) end - if server.name == "rust_analyzer" then - opts = vim.tbl_deep_extend("force", server:get_default_options(), opts) - require "fk.plugin.rust-tools"(opts) - server:attach_buffers() - return - end - if server.name == "sumneko_lua" then opts = vim.tbl_extend("force", opts or {}, require("lua-dev").setup { lspconfig = server:get_default_options() }) end
M
lua/fk/lsp/null.lua
@@ -12,6 +12,5 @@ -- diagnostic.golangci_lint,
formatting.black, formatting.isort, diagnostic.flake8, - formatting.rustfmt, }, }
D
@@ -1,16 +0,0 @@
-return { - settings = { - ["rust-analyzer"] = { - cargo = { loadOutDirsFromCheck = true }, - procMacro = { enable = true }, - completion = { - autoimport = { enable = true }, - autoself = { enable = true }, - }, - assist = { - importGranularity = "module", - importPrefix = "by_self", - }, - }, - }, -}
M
lua/fk/plugin.lua
@@ -27,7 +27,6 @@ use { "TimUntersberger/neogit", cmd = "Neogit", config = get_config "fk.plugin.neogit" }
-- language specific use { "~/code/gopher.nvim", ft = "go" } - use { "simrat39/rust-tools.nvim", module = "rust-tools" } -- appearance use { "nvim-lualine/lualine.nvim", config = get_config "fk.plugin.statusline" }