Fix indentation in company file
This commit is contained in:
parent
185ee4093a
commit
af539db4c6
1 changed files with 16 additions and 17 deletions
|
|
@ -2,23 +2,23 @@
|
||||||
(require 'company); Add completion
|
(require 'company); Add completion
|
||||||
|
|
||||||
;; Company configuration
|
;; Company configuration
|
||||||
(setq-default company-minimum-prefix-length 2 ; minimum prefix character number for auto complete.
|
(setq-default
|
||||||
company-idle-delay 0.1
|
company-minimum-prefix-length 2 ; minimum prefix character number for auto complete.
|
||||||
company-echo-delay 0
|
company-idle-delay 0.1
|
||||||
;; company-show-numbers t
|
company-echo-delay 0 ;; company-show-numbers t
|
||||||
company-tooltip-align-annotations t ; align annotations to the right tooltip border.
|
company-tooltip-align-annotations t ; align annotations to the right tooltip border.
|
||||||
company-tooltip-flip-when-above t
|
company-tooltip-flip-when-above t
|
||||||
company-tooltip-limit 10 ; tooltip candidates max limit.
|
company-tooltip-limit 10 ; tooltip candidates max limit.
|
||||||
company-tooltip-minimum 2 ; minimum candidates limit.
|
company-tooltip-minimum 2 ; minimum candidates limit.
|
||||||
company-tooltip-minimum-width 0 ; The minimum width of the tooltip's inner area.
|
company-tooltip-minimum-width 0 ; The minimum width of the tooltip's inner area.
|
||||||
; This doesn't include the margins and the scroll bar.
|
; This doesn't include the margins and the scroll bar.
|
||||||
company-tooltip-margin 2 ; width of margin columns to show around the tooltip
|
company-tooltip-margin 2 ; width of margin columns to show around the tooltip
|
||||||
company-tooltip-offset-display 'scrollbar ; 'lines - how to show tooltip unshown candidates number.
|
company-tooltip-offset-display 'scrollbar ; 'lines - how to show tooltip unshown candidates number.
|
||||||
company-show-numbers nil ; t: show quick-access numbers for the first ten candidates.
|
company-show-numbers nil ; t: show quick-access numbers for the first ten candidates.
|
||||||
company-selection-wrap-around t ; loop over candidates
|
company-selection-wrap-around t ; loop over candidates
|
||||||
;; company-async-wait 0.03
|
;; company-async-wait 0.03
|
||||||
;; company-async-timeout 2
|
;; company-async-timeout 2
|
||||||
)
|
)
|
||||||
|
|
||||||
(global-company-mode 1)
|
(global-company-mode 1)
|
||||||
(yas-global-mode 1)
|
(yas-global-mode 1)
|
||||||
|
|
@ -32,7 +32,6 @@
|
||||||
(company-dabbrev company-abbrev)
|
(company-dabbrev company-abbrev)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
||||||
(setq-default
|
(setq-default
|
||||||
company-lsp-cache-candidates 1 ;; Cache LSP results
|
company-lsp-cache-candidates 1 ;; Cache LSP results
|
||||||
company-lsp-async 1 ;; Fetch LSP results asynchronously
|
company-lsp-async 1 ;; Fetch LSP results asynchronously
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue