added hlsl, got ctrl+. working as arrow operator (on linux at least

might need to configure the windows terminal).
This commit is contained in:
Tyler White 2025-05-22 21:10:30 -07:00
parent 9c426574ed
commit ca2d6550fa
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ vim.opt.smartindent = true
vim.opt.wrap = false vim.opt.wrap = false
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
ensure_installed = { "c", "cpp", "lua", "go", "gdscript", "godot_resource", "gdshader", "odin", "python", "sql", "zig" }, ensure_installed = { "c", "cpp", "lua", "go", "gdscript", "godot_resource", "gdshader", "odin", "python", "sql", "zig", "hlsl" },
sync_install = false, sync_install = false,
auto_install = false, auto_install = false,
highlight = { highlight = {

View File

@ -14,8 +14,8 @@ vim.keymap.set('n', '<leader>br', save_all_and_buildnrun, opts)
-- TODO: get fancy and read the commentstring and user -- TODO: get fancy and read the commentstring and user
vim.keymap.set('i', '<A-t>', '// TODO(twig): ', opts) vim.keymap.set('i', '<A-t>', '// TODO(twig): ', opts)
vim.keymap.set('i', '<A-y>', '// NOTE(twig): ', opts) vim.keymap.set('i', '<A-y>', '// NOTE(twig): ', opts)
--vim.keymap.set('i', '<C-.>', '->', opts) vim.api.nvim_set_keymap('i', '<C-.>', '->', opts)
vim.api.nvim_set_keymap('i', '<A-.>', '->', opts) --vim.api.nvim_set_keymap('i', '<A-.>', '->', opts)
-- This is horrendous on windows, can't use nvim for almost a minute! -- This is horrendous on windows, can't use nvim for almost a minute!
vim.keymap.set('n', 'K', '') vim.keymap.set('n', 'K', '')
vim.keymap.set('n', '<leader>fs', '<cmd>Telescope grep_string<cr>', opts) vim.keymap.set('n', '<leader>fs', '<cmd>Telescope grep_string<cr>', opts)