-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16abe7e
commit df79486
Showing
14 changed files
with
181 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+531 Bytes
(100%)
aspects/dotfiles/files/.local/share/autojump/autojump.txt
Binary file not shown.
Binary file modified
BIN
+572 Bytes
(100%)
aspects/dotfiles/files/.local/share/autojump/autojump.txt.bak
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
local which_key = require("which-key") | ||
local options = require("config.global").which_key_vars.options | ||
|
||
options = vim.tbl_deep_extend("force", { | ||
filetype = "dart", | ||
buffer = vim.api.nvim_get_current_buf(), | ||
}, options) | ||
|
||
which_key.register({ | ||
["L"] = { | ||
name = "Language", | ||
p = { "<CMD>FlutterRun<CR>", "Run project" }, | ||
d = { "<CMD>FlutterDevices<CR>", "List connected devices" }, | ||
e = { "<CMD>FlutterEmulators<CR>", "List of emulators" }, | ||
q = { "<CMD>FlutterQuit<CR>", "End running session" }, | ||
D = { "<CMD>FlutterDetach<CR>", "End running session locally" }, | ||
o = { "<CMD>FlutterOutlineToggle<CR>", "Toggle outline window" }, | ||
t = { "<CMD>FlutterDevTools<CR>", "Start Dart Dev Tools server" }, | ||
a = { "<CMD>FlutterDevToolsActivate<CR>", "Start Dart Dev Tools server" }, | ||
P = { "<CMD>FlutterCopyProfilerUrl<CR>", "Copy profiler url to system clipboard" }, | ||
l = { "<CMD>FlutterLspRestart<CR>", "Restart LSP" }, | ||
s = { "<CMD>FlutterSuper<CR>", "Go to super class" }, | ||
r = { "<CMD>FlutterRename<CR>", "Rename and updates imports" }, | ||
}, | ||
}, options) | ||
|
||
local dap = require("dap") | ||
local mason_path = vim.fn.glob(vim.fn.stdpath("data")) .. "/mason/" | ||
local dart_debug_adapter_exec_path = mason_path .. "packages/dart-debug-adapter" | ||
|
||
dap.adapters.dart = { | ||
type = "executable", | ||
command = "node", | ||
args = {dart_debug_adapter_exec_path .. "/extension/out/dist/debug.js", "flutter"} | ||
} | ||
dap.configurations.dart = { | ||
{ | ||
type = "dart", | ||
request = "launch", | ||
name = "Launch flutter", | ||
dartSdkPath = os.getenv("HOME") .. "/.config/flutter/bin/cache/dart-sdk/", | ||
flutterSdkPath = os.getenv("HOME") .. "/.config/flutter", | ||
program = "${workspaceFolder}/lib/main.dart", | ||
cwd = "${workspaceFolder}", | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters