Browse Source

changed backends for lisp company, some changes tried for python lsp

master
marc 4 years ago
parent
commit
bd8ff19f48
1 changed files with 9 additions and 3 deletions
  1. 12
      init.org

12
init.org

@ -448,7 +448,7 @@ Windows Theme:
(defun company/elisp-mode-hook()
(set (make-local-variable 'company-backends)
'((company-elisp company-dabbrev) company-capf company-files))
'(company-capf company-files))
(message "company/elisp-mode-hook"))
(defun company/beancount-mode-hook()
@ -924,8 +924,14 @@ Default completion is C-j
(use-package lsp-python-ms
:ensure t
:after lsp-mode python))
; :custom (lsp-python-executable-cmd "python3"))
;:after lsp-mode python
:hook (python-mode . (lambda()
(require 'lsp-python-ms)
(lsp)))
:init
(setq lsp-python-ms-executable
"~/.emacs.d/mspyls/Microsoft.Python.LanguageServer")
:custom (lsp-python-executable-cmd "python3")))
#+END_SRC

Loading…
Cancel
Save