mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 12:00:24 +10:00
Updating dotfiles.
This commit is contained in:
@@ -12,20 +12,30 @@
|
||||
mode
|
||||
`((,(let ((OR "\\|"))
|
||||
(concat "\\(" ; stolen `matlab.el' operators first
|
||||
"[<>!]=?" OR
|
||||
;; `:` defines a symbol in Julia and must not be highlighted
|
||||
;; as an operator. The only operators that start with `:` are
|
||||
;; `:<` and `::`. This must be defined before `<`.
|
||||
"[:<]:" OR
|
||||
"[<>]=?" OR
|
||||
"\\.[/*^']" OR
|
||||
"===" OR
|
||||
"==" OR
|
||||
"=>" OR
|
||||
"\\<xor\\>" OR
|
||||
"[-+*\\/^&|$]=?" OR ; this has to come before next (updating operators)
|
||||
"[-!^&|*+\\/~:]" OR
|
||||
"[-^&|*+\\/~]" OR
|
||||
;; Julia variables and names can have `!`. Thus, `!` must be
|
||||
;; highlighted as a single operator only in some
|
||||
;; circumstances. However, full support can only be
|
||||
;; implemented by a full parser. Thus, here, we will handle
|
||||
;; only the simple cases.
|
||||
"[[:space:]]!=?=?" OR "^!=?=?" OR
|
||||
;; The other math operators that starts with `!`.
|
||||
;; more extra julia operators follow
|
||||
"[%$]" OR
|
||||
;; bitwise operators
|
||||
">>>" OR ">>" OR "<<" OR
|
||||
">>>=" OR ">>" OR "<<" OR
|
||||
;; comparison
|
||||
"[<>!]=?" OR
|
||||
"\\)"))
|
||||
1 font-lock-type-face)))))
|
||||
|
||||
@@ -57,7 +67,7 @@
|
||||
|
||||
(use-package! lsp-julia
|
||||
:when (featurep! +lsp)
|
||||
:after lsp-clients
|
||||
:after lsp-mode
|
||||
:preface
|
||||
(setq lsp-julia-default-environment "~/.julia/environments/v1.0")
|
||||
(when (featurep! +lsp)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/julia/packages.el
|
||||
|
||||
(package! julia-mode :pin "1c122f1dff")
|
||||
(package! julia-repl :pin "5fa04de4e7")
|
||||
(package! julia-mode :pin "b5f5983d2b232c8bba4c5eff75cccdb787c19d98")
|
||||
(package! julia-repl :pin "d073acb6339e99edf77833f82277afd9a076f16a")
|
||||
|
||||
Reference in New Issue
Block a user