Skip to content

Instantly share code, notes, and snippets.

View dj8yfo's full-sized avatar
💭
merciful respawns let you die with efficiency

dj8yf0μl dj8yfo

💭
merciful respawns let you die with efficiency
  • david protest the hero
View GitHub Profile
#![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,
@dj8yfo
dj8yfo / kotlin
Last active August 24, 2019 13:38
universal ctags kotlin langmap
--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
(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)))))
;;; 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
0x00cB943c57F03580c9169B6D27200bc1e7b44a68