[feat] Fix nvim config
This commit is contained in:
@@ -1,15 +1,4 @@
|
||||
-- Update this path
|
||||
-- local extension_path = vim.env.HOME .. '/.vscode/extensions/vadimcn.vscode-lldb-1.7.0'
|
||||
-- local codelldb_path = extension_path .. 'adapter/codelldb'
|
||||
-- local liblldb_path = extension_path .. 'lldb/lib/liblldb.dylib'
|
||||
-- local codelldb_path = '/Users/fs0c131y/.vscode-oss/extensions/vadimcn.vscode-lldb-1.8.1-universal/adapter/codelldb'
|
||||
-- local liblldb_path = '/Users/fs0c131y/.vscode-oss/extensions/vadimcn.vscode-lldb-1.8.1-universal/lldb/lib/liblldb.dylib'
|
||||
local lspstatus = require('lsp-status')
|
||||
-- local lsp_signature = require('lsp_signature')
|
||||
|
||||
|
||||
-- vim.cmd([[autocmd BufEnter,BufWinEnter,TabEnter *.rs :lua require('rust-tools.inlay_hints').set_inlay_hints()]])
|
||||
-- require('rust-tools').setup(opts)
|
||||
local bufnr = vim.api.nvim_get_current_buf()
|
||||
-- vim.keymap.set(
|
||||
-- "n",
|
||||
@@ -49,6 +38,7 @@ vim.g.rustaceanvim = {
|
||||
-- tools = {},
|
||||
-- LSP configuration
|
||||
server = {
|
||||
capabilities = require'lsp_zero'.get_capabilities(),
|
||||
on_attach = function(client, bufnr)
|
||||
-- you can also put keymaps in here
|
||||
lspstatus.on_attach(client, bufnr)
|
||||
|
||||
Reference in New Issue
Block a user