Skip to content

Commit f3b85b4

Browse files
committed
update
1 parent 8accf03 commit f3b85b4

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

a.s

Whitespace-only changes.

init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ vim.opt.inccommand = "split"
148148

149149
-- Show which line your cursor is on
150150
vim.opt.cursorline = true
151+
vim.opt.guicursor = ""
151152

152153
-- Minimal number of screen lines to keep above and below the cursor.
153154
vim.opt.scrolloff = 10

lua/custom/plugins/autocomplete.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ return { -- Autocompletion
6565
-- Accept ([y]es) the completion.
6666
-- This will auto-import if your LSP supports it.
6767
-- This will expand snippets if the LSP sent a snippet.
68-
["<C-y>"] = cmp.mapping.confirm({ select = true }),
68+
["<Tab>"] = cmp.mapping.confirm({ select = true }),
6969

7070
-- If you prefer more traditional completion keymaps,
7171
-- you can uncomment the following lines

lua/kickstart/plugins/lint.lua

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
return {
22

33
{ -- Linting
4-
'mfussenegger/nvim-lint',
5-
event = { 'BufReadPre', 'BufNewFile' },
4+
"mfussenegger/nvim-lint",
5+
event = { "BufReadPre", "BufNewFile" },
66
config = function()
7-
local lint = require 'lint'
7+
local lint = require("lint")
88
lint.linters_by_ft = {
9-
markdown = { 'markdownlint' },
9+
markdown = { "markdownlint" },
10+
typescript = { "eslint_d" },
1011
}
1112

1213
-- To allow other plugins to add linters to require('lint').linters_by_ft,
@@ -43,11 +44,11 @@ return {
4344

4445
-- Create autocommand which carries out the actual linting
4546
-- on the specified events.
46-
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })
47-
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWritePost', 'InsertLeave' }, {
47+
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
48+
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
4849
group = lint_augroup,
4950
callback = function()
50-
require('lint').try_lint()
51+
require("lint").try_lint()
5152
end,
5253
})
5354
end,

t.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)