Skip to content

twlz0ne/acm-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

acm-terminal

Patch for LSP bridge acm on Terminal.

Requirements

Installation

Manual

Clone or download repositories, then put the following in .emacs:

(unless (package-installed-p 'yasnippet)
  (package-install 'yasnippet))

(add-to-list 'load-path "<path-to-lsp-bridge>")

(unless (display-graphic-p)
  (add-to-list 'load-path "<path-to-popon>")
  (add-to-list 'load-path "<path-to-acm-terminal>"))

Quelpa

(unless (package-installed-p 'yasnippet)
  (package-install 'yasnippet))

(quelpa '(lsp-bridge :fetcher github
                     :repo "manateelazycat/lsp-bridge"
                     :files ("*.el" "*.py" "acm" "core" "langserver"
                             "multiserver" "resources")))

(unless (display-graphic-p)
  (quelpa '(popon :fetcher git :url "https://codeberg.org/akib/emacs-popon.git"))
  (quelpa '(acm-terminal :fetcher github :repo "twlz0ne/acm-terminal")))

Straight

(unless (package-installed-p 'yasnippet)
  (package-install 'yasnippet))

(straight-use-package
 '(lsp-bridge :host github
              :repo "manateelazycat/lsp-bridge"
              :files ("*.el" "*.py" "acm" "core" "langserver"
                      "multiserver" "resources")))

(unless (display-graphic-p)
  (straight-use-package
   '(popon :host nil :repo "https://codeberg.org/akib/emacs-popon.git"))
  (straight-use-package
   '(acm-terminal :host github :repo "twlz0ne/acm-terminal")))

Doom Emacs

(package! yasnippet)

(package! lsp-bridge
  :recipe (:host github
           :repo "manateelazycat/lsp-bridge"
           :files ("*.el" "*.py" "acm" "core" "langserver"
                   "multiserver" "resources")))

(unless (display-graphic-p)
  (package! popon
    :recipe (:host nil :repo "https://codeberg.org/akib/emacs-popon.git"))
  (package! acm-terminal
    :recipe (:host github :repo "twlz0ne/acm-terminal")))

Configuration

(add-hook 'emacs-startup-hook
          (lambda ()
            (require 'yasnippet)
            (yas-global-mode 1)

            (require 'lsp-bridge)
            (global-lsp-bridge-mode)

            (unless (display-graphic-p)
              (with-eval-after-load 'acm
                (require 'acm-terminal)))))

About

Patch for LSP bridge acm on Terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published