This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![cfg_attr(not(feature = "std"), no_std)] | |
#[cfg(feature = "std")] | |
use std::collections::{btree_map::Entry, BTreeMap}; | |
#[cfg(not(feature = "std"))] | |
extern crate alloc; | |
#[cfg(not(feature = "std"))] | |
use alloc::{ | |
boxed::Box, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--langdef=kotlin | |
--langmap=kotlin:+.kt | |
--langmap=kotlin:+.kts | |
--regex-kotlin=/^.*((public|private|internal|protected|enum|sealed|annotation|data|inner|lateinit|override|tailrec|operator|infix|inline|external|suspend|const|abstract|final|open|implicit|lazy|vararg|noinline|cross|inline|expect|actual)[[:space:]]*)*[[:space:]]*class[[:space:]]+([[:alnum:]_:]+)/\3/c,classes/ | |
--regex-kotlin=/^.*((companion|public|private|internal|protected|enum|sealed|annotation|data|inner|lateinit|override|tailrec|operator|infix|inline|external|suspend|const|abstract|final|open|implicit|lazy|vararg|noinline|cross|inline|expect|actual)[[:space:]]*)*[[:space:]]*(object)/\3/o,objects/ | |
--regex-kotlin=/^.*((public|private|internal|protected|enum|sealed|annotation|data|inner|lateinit|override|tailrec|operator|infix|inline|external|suspend|const|abstract|final|open|implicit|lazy|vararg|noinline|cross|inline|expect|actual)[[:space:]]*)*[[:space:]]*interface[[:space:]]+([[:alnum:]_:]+)/\3/i,interfaces/ | |
--regex-kotlin=/^.*((public|private|i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun extract-last-search () | |
(if isearch-regexp | |
(progn | |
;; (message ( format "extracted %s" (car-safe regexp-search-ring))) | |
(car-safe regexp-search-ring)) | |
(progn | |
;; (message ( format "extracted %s"(regexp-quote (car-safe search-ring)))) | |
(regexp-quote (car-safe search-ring))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; packages.el --- zbasic-my layer packages file for Spacemacs. | |
;; | |
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors | |
;; | |
;; Author: sj <sysmanj@sysmanj-a> | |
;; URL: https://github.com/syl20bnr/spacemacs | |
;; | |
;; This file is not part of GNU Emacs. | |
;; | |
;;; License: GPLv3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x00cB943c57F03580c9169B6D27200bc1e7b44a68 |