Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty setting up Sqlite completion with coc.nvim #239

Open
znoble360 opened this issue Jan 9, 2024 · 0 comments
Open

Difficulty setting up Sqlite completion with coc.nvim #239

znoble360 opened this issue Jan 9, 2024 · 0 comments

Comments

@znoble360
Copy link

znoble360 commented Jan 9, 2024

I'm trying to set this up for coc.nvim but I'm not able to figure out why I'm not getting any completion. I want to be able to see things like INSERT and CREATE TABLE in my tab completion options but I'm just not seeing that. Here is my coc-settings.json:

{	
    "languageserver": {
		"sql": {
			"command": "sql-language-server",
			"args": ["up", "--method", "stdio"],
			"filetypes": ["sql"],
			"settings": {
				"sqlLanguageServer": {
					"connections": [
						{
							"name": "sqlite3-project",
							"adapter": "sqlite3",
							"filename": "/home/znoble360/nawctsd/seaorm/db/root",
							"projectPaths": ["/home/znoble360/nawctsd/seaorm/"]
						}
					],
					"lint": {
						"rules": {
							"align-column-to-the-first": "error",
							"column-new-line": "error",
							"linebreak-after-clause-keyword": "off",
							"reserved-word-case": ["error", "upper"],
							"space-surrounding-operators": "error",
							"where-clause-new-line": "error",
							"align-where-clause-to-the-first": "error"
						}
					}
				}
			}
		}
	}
}
@znoble360 znoble360 changed the title sqlite completion Difficulty setting up Sqlite completion with coc.nvim Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant