i'm only doing this because in non-graphical mode, lsp tooltips seem
to have some weird issues, sometimes not working at all, sometimes
resulting in "error while displaying tooltip" messages. switching them
to be triggered on-demand via keybind seems to resolve all of this ...
for now anyway
it seems that terraform-mode, while it DOES provide
terraform-indent-level, that doesn't seem to be what actually sets the
indent level currently? possibly a bug in terraform-mode, but setting
hcl-indent-level (since hcl-mode is a dependency of terraform-mode ...)
fixes this for now, so just set them both.
it gets included with terraform-mode anyway as a dependency, and well,
it might be useful to include as there is other stuff which uses hcl
config files ... meh
this gets annoying, especially when there's some other issue preventing
lsp server installation to occur (e.g. missing npm, or some other
dependency) as it will just keep prompting until you install it. ugh.
when cycling through buffers, skip over a bunch of built-in emacs
buffers. as well, skip over dired-sidebar-mode buffers, as these get
super annoyingly mixed in all over the place at times
now to import / initialize a new lsp workspace/project, a file needs
to be opened from the workspace/project directory, and `M-x lsp` needs
to be manually run, which will trigger the project import prompt
existing lsp workspaces/projects will still open automatically,
triggering the lsp to load for them, etc.
the main goal here is to provide common keybinds for controlling a
debugger session between dap-mode and gdb-mi/gud ... or at least, as
common as is possible
- switch away from using tab to trigger completion. i find it annoying
when & how tab is "overloaded" with completion and indentation.
using ctrl+space for completion feels a bit more normal to me anyway.
- turn on auto completion pop-up triggering
the problem i have with this package is the colour used for the
highlight is the same as the mark/selection colour, which gets super
annoying when using expand-region to copy a name or something