update stuff

This commit is contained in:
2026-05-19 17:49:19 -03:00
parent ac5abd650b
commit 4d68db3c1d
9 changed files with 55 additions and 73 deletions
+7 -1
View File
@@ -25,12 +25,18 @@ local on_attach = function(client, bufnr)
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
end
vim.filetype.add({
extension = {
cu = "cuda",
cuh = "cuda",
},
})
-- clangd
vim.lsp.config("clangd", {
cmd = { "clangd", "--compile-commands-dir=build", "--experimental-modules-support" },
capabilities = caps,
on_attach = on_attach,
filetypes = { "c", "cpp", "cc", "cxx", "c++", "ixx" },
filetypes = { "c", "cpp", "cc", "cxx", "c++", "ixx", "cu", "cuh", "cuda" },
})
vim.lsp.enable("clangd")
+8
View File
@@ -35,4 +35,12 @@ return {
{
"neovim/nvim-lspconfig",
},
{
"azratul/live-share.nvim",
config = function()
require("live-share").setup({
username = "caio",
})
end
},
}
+4 -4
View File
@@ -1,8 +1,8 @@
return {
{
"sphamba/smear-cursor.nvim",
opts = {},
},
-- {
-- "sphamba/smear-cursor.nvim",
-- opts = {},
-- },
{
"nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" },