mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 04:18:03 +00:00
update
merge
This commit is contained in:
parent
083a5172cb
commit
f1c8a486bd
3 changed files with 1984 additions and 2019 deletions
3981
flake.lock
generated
3981
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,6 @@
|
|||
}: let
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.nvim.dag) entryAnywhere;
|
||||
<<<<<<< HEAD
|
||||
inherit (lib.nvim.lua) toLuaObject;
|
||||
inherit (lib.nvim.binds) addDescriptionsToMappings mkSetBinding;
|
||||
|
||||
|
@ -27,33 +26,13 @@ in {
|
|||
vim = {
|
||||
startPlugins = ["otter-nvim"];
|
||||
|
||||
=======
|
||||
inherit (lib.nvim.binds) addDescriptionsToMappings mkSetBinding;
|
||||
|
||||
cfg = config.vim.lsp;
|
||||
|
||||
self = import ./otter.nix {inherit lib;};
|
||||
mappingDefinitions = self.options.vim.lsp.otter.mappings;
|
||||
mappings = addDescriptionsToMappings cfg.otter.mappings mappingDefinitions;
|
||||
in {
|
||||
config = mkIf (cfg.enable && cfg.otter.enable) {
|
||||
vim = {
|
||||
startPlugins = ["otter"];
|
||||
|
||||
>>>>>>> d61aba1 (created otter file)
|
||||
maps.normal = mkMerge [
|
||||
(mkSetBinding mappings.toggle "<cmd>lua require'otter'.activate()<CR>")
|
||||
];
|
||||
|
||||
<<<<<<< HEAD
|
||||
pluginRC.otter-nvim = entryAnywhere ''
|
||||
-- Enable otter diagnostics viewer
|
||||
require("otter").setup({${toLuaObject cfg.otter-nvim.setupOpts}})
|
||||
=======
|
||||
pluginRC.otter = entryAnywhere ''
|
||||
-- Enable otter diagnostics viewer
|
||||
require("otter").setup {}
|
||||
>>>>>>> d61aba1 (created otter file)
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -66,7 +66,6 @@ in {
|
|||
options.vim.lsp = {
|
||||
otter = {
|
||||
enable = mkEnableOption "Otter LSP Injector";
|
||||
|
||||
mappings = {
|
||||
toggle = mkMappingOption "Activate LSP on Cursor Position [otter]" "<leader>oa";
|
||||
>>>>>>> d61aba1 (created otter file)
|
||||
|
|
Loading…
Add table
Reference in a new issue