Skip to content

Commit

Permalink
Prevent unbound variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
regob committed Oct 8, 2024
1 parent b3415a1 commit c7920ab
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions lisp/init-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
(use-package lsp-mode
:hook
(((python-mode c-mode c++-mode) . lsp))
:custom
(lsp-enable-symbol-highlighting nil)
(lsp-enable-on-type-formatting nil)
(lsp-keymap-prefix "C-c l")
(lsp-headerline-breadcrumb-enable nil)
(lsp-completion-enable t)
:config
(setq lsp-enable-symbol-highlighting nil)
(setq lsp-enable-on-type-formatting nil)
(setq lsp-keymap-prefix "C-c l")
(require 'lsp-pyright)
(setq lsp-headerline-breadcrumb-enable nil)
(setq lsp-completion-enable t)
)

(use-package lsp-ui
Expand All @@ -20,13 +21,14 @@
(use-package dap-mode
:hook
(((python-mode) . dap-mode))

:functions (dap-ui-mode
dap-ui-many-windows-mode)
:custom
(dap-python-debugger 'debugpy)
:config
(dap-ui-mode)
(dap-ui-many-windows-mode)

(require 'dap-python)
(setq dap-python-debugger 'debugpy)
)


Expand Down

0 comments on commit c7920ab

Please sign in to comment.