mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Use the default jupyter-code-context' for
jupyter-repl-mode` buffers
Previously an invisible character would be added in the buffer to prevent the margin from inheriting any text properties but this is unneeded since the default margin does not contain any text that can inherit the properties.
This commit is contained in:
parent
c51d3b3a6c
commit
4f53240e24
1 changed files with 0 additions and 5 deletions
|
@ -1741,11 +1741,6 @@ Works for Julia and Python."
|
|||
|
||||
;;; Getting the completion context
|
||||
|
||||
(cl-defmethod jupyter-code-context ((_type (eql inspect))
|
||||
&context (major-mode jupyter-repl-mode))
|
||||
(jupyter-line-context (next-single-property-change
|
||||
(line-beginning-position) 'invisible)))
|
||||
|
||||
(cl-defmethod jupyter-code-context ((_type (eql completion))
|
||||
&context (major-mode jupyter-repl-mode))
|
||||
(list (jupyter-repl-cell-code)
|
||||
|
|
Loading…
Add table
Reference in a new issue