mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): fix completions width for Helm users (#2040)
This commit is contained in:
committed by
GitHub
parent
6170cc9928
commit
001de3a874
@ -1,4 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
## TBD
|
||||||
|
### Added
|
||||||
|
### Removed
|
||||||
|
### Fixed
|
||||||
|
### Changed
|
||||||
|
- [#2040](https://github.com/org-roam/org-roam/pull/2040) completions: fix completions display-width for Helm users
|
||||||
|
|
||||||
## 2.2.0
|
## 2.2.0
|
||||||
### Added
|
### Added
|
||||||
|
@ -545,7 +545,8 @@ TEMPLATE is the processed template used to format the entry."
|
|||||||
(let ((candidate-main (org-roam-node--format-entry
|
(let ((candidate-main (org-roam-node--format-entry
|
||||||
template
|
template
|
||||||
node
|
node
|
||||||
(1- (frame-width)))))
|
(1- (if (bufferp (current-buffer))
|
||||||
|
(window-width) (frame-width))))))
|
||||||
(cons (propertize candidate-main 'node node) node)))
|
(cons (propertize candidate-main 'node node) node)))
|
||||||
|
|
||||||
(defun org-roam-node--format-entry (template node &optional width)
|
(defun org-roam-node--format-entry (template node &optional width)
|
||||||
|
Reference in New Issue
Block a user