Download nvim-linux-x86_64/share/nvim/runtime/ftplugin/c.lua from skyzos/first-humanoid-dataset: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/datasets/skyzos/first-humanoid-dataset/resolve/main/nvim-linux-x86_64/share/nvim/runtime/ftplugin/c.lua
- Command line
-
hf download hf://datasets/skyzos/first-humanoid-dataset/nvim-linux-x86_64/share/nvim/runtime/ftplugin/c.lua
-
curl -L -o c.lua https://huggingface.co/datasets/skyzos/first-humanoid-dataset/resolve/main/nvim-linux-x86_64/share/nvim/runtime/ftplugin/c.lua
442 Bytes
| -- These are the default option values in Vim, but not in Nvim, so must be set explicitly. | |
| vim.bo.commentstring = '// %s' | |
| vim.bo.define = '^\\s*#\\s*define' | |
| vim.bo.include = '^\\s*#\\s*include' | |
| if vim.fn.isdirectory('/usr/include') == 1 then | |
| vim.cmd([[ | |
| setlocal path^=/usr/include | |
| setlocal path-=. | |
| setlocal path^=. | |
| ]]) | |
| end | |
| vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') .. '\n setl commentstring< define< include< path<' | |