mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
data changes
This commit is contained in:
parent
5dbb18ee4d
commit
20ccee259a
6 changed files with 35 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ require("remap")
|
|||
|
||||
|
||||
if vim.g.is_purdue then
|
||||
require("westwood-lint")
|
||||
-- require("westwood-lint")
|
||||
end
|
||||
require("standard-lint")
|
||||
|
||||
|
|
|
|||
15
vim/.config/nvim/lsp/asm-lsp.lua
Normal file
15
vim/.config/nvim/lsp/asm-lsp.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://github.com/bergercookie/asm-lsp
|
||||
---
|
||||
--- Language Server for NASM/GAS/GO Assembly
|
||||
---
|
||||
--- `asm-lsp` can be installed via cargo:
|
||||
--- cargo install asm-lsp
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'asm-lsp' },
|
||||
filetypes = { 'asm', 'vmasm' },
|
||||
root_markers = { '.asm-lsp.toml', '.git' },
|
||||
}
|
||||
|
|
@ -77,6 +77,8 @@ vim.lsp.config('csharp-ls', {
|
|||
|
||||
vim.lsp.enable("csharp-ls")
|
||||
|
||||
vim.lsp.enable("asm-lsp")
|
||||
|
||||
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html
|
||||
|
||||
vim.opt.completeopt = { 'menu', 'menuone', 'noselect', 'noinsert' }
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave", "TextCh
|
|||
callback = function()
|
||||
-- try_lint without arguments runs the linters defined in `linters_by_ft`
|
||||
-- for the current filetype
|
||||
require("lint").try_lint()
|
||||
require("lint").try_lint(nil, { ignore_errors = true })
|
||||
|
||||
-- You can call `try_lint` with a linter name or a list of names to always
|
||||
-- run specific linters, independent of the `linters_by_ft` configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue