update stuff
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -35,4 +35,12 @@ return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
{
|
||||
"azratul/live-share.nvim",
|
||||
config = function()
|
||||
require("live-share").setup({
|
||||
username = "caio",
|
||||
})
|
||||
end
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user