profile
viewpoint
Spencer Gilbert spencergilbert @optoro Washington, DC https://sgilbert.dev/

argoproj/argo-helm 194

ArgoProj Helm Charts

spencergilbert/asdf-k3d 2

k3d plugin for asdf version manager https://github.com/asdf-vm/asdf

spencergilbert/dotfiles 1

Personal configuration files - managed via GNU Stow

spencergilbert/asdf-levant 0

Levant plugin for asdf version manager https://github.com/asdf-vm/asdf

spencergilbert/asdf-plugins 0

Central plugin repository for asdf

spencergilbert/cloud-on-k8s 0

Elastic Cloud on Kubernetes

spencergilbert/pomerium-helm 0

Official helm charts for Pomerium.

spencergilbert/talent-plan 0

PingCAP training courses

delete branch nanotee/nvim-lua-guide

delete branch : lua_print

delete time in 17 hours

push eventnanotee/nvim-lua-guide

Timothée Sterle

commit sha 97ba087447b41185fce1e84271e207d4aab921cf

add info about `print()` in Lua

view details

push time in 17 hours

PR merged nanotee/nvim-lua-guide

add info about `print()` in Lua

Closes #24

+6 -0

0 comment

2 changed files

nanotee

pr closed time in 17 hours

issue closednanotee/nvim-lua-guide

Show how to call :echom / do print debugging

As someone trying to write my absolute first line of nvim Lua, I scanned the README hoping it'd tell me what to put in my init.lua to just make something show up in :messages and prove things were running.

(I assume the right way to do so is to perhaps execute echom on vim but yeah may be nice to explicitly call out.)

Perhaps related to #5

closed time in 17 hours

Julian

push eventnanotee/nvim-lua-guide

Timothée Sterle

commit sha 6bb69d6a91b14690a57fc3bef68cd730b01f39df

add info about `print()` in Lua

view details

push time in 17 hours

push eventrockerBOO/awesome-neovim

Yuta Katayama

commit sha 022ca4247649238a185e6571e0e6116a2c728be3

Add hrsh7th/nvim-compe (#17) * Add hrsh7th/nvim-compe * Completion header Co-authored-by: Dave Lage <rockerboo@gmail.com>

view details

push time in 2 days

pull request commentrockerBOO/awesome-neovim

Add hrsh7th/nvim-compe

Cool! Thanks!

yutakatay

comment created time in 2 days

PR opened nanotee/nvim-lua-guide

add info about `print()` in Lua

Closes #24

+6 -0

0 comment

2 changed files

pr created time in 3 days

create barnchnanotee/nvim-lua-guide

branch : lua_print

created branch time in 3 days

delete branch nanotee/nvim-lua-guide

delete branch : package_path_update

delete time in 3 days

delete branch nanotee/nvim-lua-guide

delete branch : lua_command_scope

delete time in 3 days

push eventnanotee/nvim-lua-guide

Timothée Sterle

commit sha 31e0b3eba08e12be3e5ed8c02913731d1f01c0ba

mention scope of :lua Example provided by @clason

view details

push time in 3 days

PR merged nanotee/nvim-lua-guide

mention scope of :lua

Thanks for the suggestion @clason!

+18 -0

0 comment

2 changed files

nanotee

pr closed time in 3 days

issue closednanotee/nvim-lua-guide

Mention scope of :lua

Here's another GoodToKnow(tm): every :lua statement has its own scope, which means that local variables in one statement will not be available in subsequent statements -- tripping people up that want to debug a script by pasting it in line-by-line. (A similar but more subtle effect is setting a local variable in a init.vim heredoc syntax and trying to access it later from a different heredoc snippet or from the command line via :lua.)

So

:lua local foo = 1
:lua print(foo)

will print nil, not 1.

A sentence pointing this out could go after the multiline heredoc example.

closed time in 3 days

clason

push eventnanotee/nvim-lua-guide

Timothée Sterle

commit sha d28ca94684d6104c17ba744adf784e22e153739d

remove references to `package.path`

view details

push time in 3 days

PR merged nanotee/nvim-lua-guide

remove references to `package.path`

Apparently nvim doesn't use package.path to load modules in lua/ folders anymore

+6 -9

0 comment

2 changed files

nanotee

pr closed time in 3 days

startednativesintech/indigemoji

started time in 4 days

PR opened rockerBOO/awesome-neovim

Add hrsh7th/nvim-compe
+5 -1

0 comment

1 changed file

pr created time in 4 days

startedjunegunn/junegunn

started time in 5 days

PR opened nanotee/nvim-lua-guide

delete most of the caveat section for vim.{o/bo/wo}

I am feeling increasingly uncomfortable leaving it in the guide. I haven't been able to verify this and if it turns out to be incorrect, it could do more harm than good.

+0 -124

0 comment

2 changed files

pr created time in 6 days

create barnchnanotee/nvim-lua-guide

branch : delete_vim_opts_caveat

created branch time in 6 days

PR opened nanotee/nvim-lua-guide

mention scope of :lua

Thanks for the suggestion @clason!

+18 -0

0 comment

2 changed files

pr created time in 6 days

create barnchnanotee/nvim-lua-guide

branch : lua_command_scope

created branch time in 6 days

issue commentnanotee/nvim-lua-guide

Show how to call :echom / do print debugging

No, I meant what I wrote (:h silent). It may in fact not be very surprising, although I have repeatedly added debug print statements to Lua functions I call via silent! and then wondering why I didn't see that output (because I didn't connect the vimscript command with the Lua function)...

Julian

comment created time in 6 days

issue commentnanotee/nvim-lua-guide

Show how to call :echom / do print debugging

@clason Did you mean nnoremap <silent>? I did a few tests and both of these mappings seem to be equivalent:

nnoremap <silent> <leader>l :echomsg 'foo'<CR> " prints 'foo'
nnoremap <silent> <leader>l :lua print('foo')<CR> " prints 'foo'
Julian

comment created time in 6 days

PR opened nanotee/nvim-lua-guide

remove references to `package.path`

Apparently nvim doesn't use package.path to load modules in lua/ folders anymore

+6 -9

0 comment

2 changed files

pr created time in 6 days

create barnchnanotee/nvim-lua-guide

branch : package_path_update

created branch time in 6 days

push eventrockerBOO/awesome-neovim

hituzi no sippo

commit sha 51d674babccd550cd860b83c5b0157c031beceba

add treesitter supported colorscheme (#16) * add treesitter supported colorscheme * add author name of colorschme * add nvim-deus

view details

push time in 7 days

more