Skip to content

Instantly share code, notes, and snippets.

-- %{v:lua.ts_context()} |
function ts_context()
local parsers = require "nvim-treesitter.parsers"
if not parsers.has_parser() then
return
end
local current_node = require"nvim-treesitter.ts_utils".get_node_at_cursor()
if not current_node then
@sencer
sencer / list.md
Created December 28, 2020 04:46 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@sencer
sencer / github.css
Last active August 29, 2015 14:23 — forked from andyferra/github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px;
width: 70%;
margin: auto;