Skip to content

Commit

Permalink
fix(remote-development): Use opts instead of config
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft committed Jul 13, 2023
1 parent 0842044 commit 6926f48
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lua/astrocommunity/remote-development/distant-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,5 @@ return {
"DistantSessionInfo",
"DistantCopy",
},
config = function()
require("distant").setup {
-- Applies Chip's personal settings to every machine you connect to

-- 1. Ensures that distant servers terminate with no connections
-- 2. Provides navigation bindings for remote directories
-- 3. Provides keybinding to jump into a remote file's parent directory
["*"] = require("distant.settings").chip_default(),
}
end,
opts = function(_, opts) require("astronvim.utils").extend_tbl(opts, require("distant.settings").chip_default()) end,
}

0 comments on commit 6926f48

Please sign in to comment.