Skip to content

Instantly share code, notes, and snippets.

View taktoa's full-sized avatar
🤔
Confused about why this feature exists

Remy Goldschmidt taktoa

🤔
Confused about why this feature exists
View GitHub Profile
@taktoa
taktoa / vim.nix
Last active September 29, 2020 03:51 — forked from cleverca22/vim.nix
# FIXME: replace @NIX_RUSTRACER@ and @NIX_RUSTC@ using `substituteAllInPlace`
# and pkgs.runCommand
{ pkgs }:
pkgs.vim_configurable.customize {
name = "vim";
vimrcConfig = {
customRC = builtins.readFile ./vimrc;
vam.pluginDictionaries = [ {
@taktoa
taktoa / vim.nix
Created April 24, 2017 22:58 — forked from cleverca22/vim.nix
{config,pkgs,...}:
let
myVim = pkgs.vim_configurable.customize {
name = "vim";
vimrcConfig = {
customRC = ''
syntax on
set nu
set foldmethod=syntax
@taktoa
taktoa / clang_cpp_ast_viewer.py
Created December 30, 2016 08:41
Minimal Clang code using Python binding to traverse a C++ AST
#!/usr/bin/env python
""" Usage: call with <filename>
"""
#
# Understanding CLang AST : http://clang.llvm.org/docs/IntroductionToTheClangAST.html
#
# Requirements
#
# 1. Install Clang : Visit http://llvm.org/releases/download.html
#